|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.property.ICalProperty
biweekly.property.ValuedProperty<String>
biweekly.property.TextProperty
biweekly.property.EnumProperty
biweekly.property.Transparency
public class Transparency
Defines whether an event is visible to free/busy time searches. If an event does not have this property, the event should be considered visible ("opaque").
Examples:
//creating a new property Transparency transp = Transparency.opaque(); if (transp.isOpaque()) { //its value is "OPAQUE" } //usage in a VEVENT component VEvent event = ... event.setTransparency(true); //hidden from searches ("TRANSPARENT") event.setTransparency(false); //visible to searches ("OPAQUE")
Field Summary |
---|
Fields inherited from class biweekly.property.ValuedProperty |
---|
value |
Fields inherited from class biweekly.property.ICalProperty |
---|
parameters |
Constructor Summary | |
---|---|
Transparency(String value)
Creates a new transparency property. |
Method Summary | |
---|---|
protected Collection<String> |
getStandardValues()
Gets the list of acceptable values for this property. |
boolean |
isOpaque()
Determines if the event is visible to free/busy time searches. |
boolean |
isTransparent()
Determines if the event is hidden from free/busy time searches. |
static Transparency |
opaque()
Creates a property that marks the event as being visible to free/busy time searches. |
static Transparency |
transparent()
Creates a property that marks the event as being hidden from free/busy time searches. |
Methods inherited from class biweekly.property.EnumProperty |
---|
is, validate |
Methods inherited from class biweekly.property.ValuedProperty |
---|
getValue, setValue |
Methods inherited from class biweekly.property.ICalProperty |
---|
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Transparency(String value)
value
- the valueMethod Detail |
---|
public static Transparency opaque()
public boolean isOpaque()
public static Transparency transparent()
public boolean isTransparent()
protected Collection<String> getStandardValues()
EnumProperty
getStandardValues
in class EnumProperty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |