|
||||||||||
| 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.Action
public class Action
Defines the type of action to invoke when an alarm is triggered.
Examples:
//creating a new property
Action action = Action.audio();
if (action.isAudio()) {
//it's an "AUDIO" alarm
}
| Field Summary |
|---|
| Fields inherited from class biweekly.property.ValuedProperty |
|---|
value |
| Fields inherited from class biweekly.property.ICalProperty |
|---|
parameters |
| Constructor Summary | |
|---|---|
Action(String value)
Creates an action property. |
|
| Method Summary | |
|---|---|
static Action |
audio()
Creates an "audio" action property. |
static Action |
display()
Creates an "display" action property. |
static Action |
email()
Creates an "email" action property. |
protected Collection<String> |
getStandardValues()
Gets the list of acceptable values for this property. |
boolean |
isAudio()
Determines if this property is an "audio" action. |
boolean |
isDisplay()
Determines if this property is an "display" action. |
boolean |
isEmail()
Determines if this property is an "email" action. |
| 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 Action(String value)
value - the value (e.g. "AUDIO")| Method Detail |
|---|
public static Action audio()
public boolean isAudio()
public static Action display()
public boolean isDisplay()
public static Action email()
public boolean isEmail()
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 | |||||||||