public class Priority extends IntegerProperty
Defines the priority of an event or to-do task.
Code sample:
VEvent event = new VEvent(); event.setPriority(1); //highest event.setPriority(9); //lowest
value
parameters
Constructor and Description |
---|
Priority(Integer priority)
Creates a priority property.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getValue, getValue, setValue, validate
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public boolean isHigh()
public boolean isMedium()
public boolean isLow()
public boolean isUndefined()
public String toCuaPriority()
Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.