|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiweekly.property.ICalProperty
biweekly.property.ValuedProperty<Integer>
biweekly.property.IntegerProperty
biweekly.property.Priority
public class Priority
Defines the priority of an event or to-do task.
Examples:
//highest Priority priority = new Priority(1); //lowest Priority priority = new Priority(9); VTodo todo = new VTodo(); todo.setPriority(1);
| Field Summary |
|---|
| Fields inherited from class biweekly.property.ValuedProperty |
|---|
value |
| Fields inherited from class biweekly.property.ICalProperty |
|---|
parameters |
| Constructor Summary | |
|---|---|
Priority(Integer priority)
Creates a priority property. |
|
| Method Summary | |
|---|---|
boolean |
isHigh()
Determines if this priority is considered "high" priority. |
boolean |
isLow()
Determines if this priority is considered "low" priority. |
boolean |
isMedium()
Determines if this priority is considered "medium" priority. |
boolean |
isUndefined()
Determines if this priority has an "undefined" value. |
String |
toCuaPriority()
Converts this priority to its two-character CUA code. |
| Methods inherited from class biweekly.property.ValuedProperty |
|---|
getValue, setValue, validate |
| 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 Priority(Integer priority)
priority - the priority ("0" is undefined, "1" is the highest, "9"
is the lowest)| Method Detail |
|---|
public boolean isHigh()
public boolean isMedium()
public boolean isLow()
public boolean isUndefined()
public String toCuaPriority()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||