|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.component.layout.AbstractConstraints
com.guiseframework.component.layout.ControlConstraints
com.guiseframework.component.layout.CardConstraints
com.guiseframework.component.layout.TaskCardConstraints
public class TaskCardConstraints
Constraints on an individual component representing a task in a card layout.
| Field Summary | |
|---|---|
static java.lang.String |
TASK_STATE_PROPERTY
The task state bound property. |
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Fields inherited from interface com.guiseframework.model.InfoModel |
|---|
DESCRIPTION_CONTENT_TYPE_PROPERTY, DESCRIPTION_PROPERTY, INFO_CONTENT_TYPE_PROPERTY, INFO_PROPERTY |
| Fields inherited from interface com.guiseframework.model.LabelModel |
|---|
GLYPH_URI_PROPERTY, LABEL_CONTENT_TYPE_PROPERTY, LABEL_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Model |
|---|
PLAIN_TEXT_CONTENT_TYPE, XHTML_CONTENT_TYPE, XHTML_FRAGMENT_CONTENT_TYPE |
| Fields inherited from interface com.guiseframework.model.Displayable |
|---|
DISPLAYED_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Enableable |
|---|
ENABLED_PROPERTY |
| Constructor Summary | |
|---|---|
TaskCardConstraints()
Default constructor. |
|
TaskCardConstraints(boolean enabled)
Enabled constructor. |
|
TaskCardConstraints(InfoModel infoModel)
Info model constructor. |
|
TaskCardConstraints(InfoModel infoModel,
boolean enabled)
Info model and enabled constructor. |
|
TaskCardConstraints(java.lang.String label)
Label constructor. |
|
TaskCardConstraints(java.lang.String label,
boolean enabled)
Label and enabled constructor. |
|
| Method Summary | |
|---|---|
com.globalmentor.model.TaskState |
getTaskState()
|
void |
setTaskState(com.globalmentor.model.TaskState newTaskState)
Sets the task state of the card. |
| Methods inherited from class com.guiseframework.component.layout.CardConstraints |
|---|
getDescription, getDescriptionContentType, getGlyphURI, getInfo, getInfoContentType, getInfoModel, getLabel, getLabelContentType, setDescription, setDescriptionContentType, setGlyphURI, setInfo, setInfoContentType, setLabel, setLabelContentType |
| Methods inherited from class com.guiseframework.component.layout.ControlConstraints |
|---|
isDisplayed, isEnabled, setDisplayed, setEnabled |
| Methods inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.globalmentor.beans.PropertyBindable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface com.globalmentor.beans.PropertyConstrainable |
|---|
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, hasVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from interface com.guiseframework.model.Displayable |
|---|
isDisplayed, setDisplayed |
| Methods inherited from interface com.guiseframework.model.Enableable |
|---|
isEnabled, setEnabled |
| Field Detail |
|---|
public static final java.lang.String TASK_STATE_PROPERTY
| Constructor Detail |
|---|
public TaskCardConstraints()
public TaskCardConstraints(boolean enabled)
enabled - Whether the card is enabled.public TaskCardConstraints(java.lang.String label)
label - The text of the label.
public TaskCardConstraints(java.lang.String label,
boolean enabled)
label - The text of the label.enabled - Whether the card is enabled.public TaskCardConstraints(InfoModel infoModel)
infoModel - The info model representing the card label.
java.lang.NullPointerException - if the given info model is null.
public TaskCardConstraints(InfoModel infoModel,
boolean enabled)
infoModel - The info model representing the card label.enabled - Whether the card is enabled.
java.lang.NullPointerException - if the given info model is null.| Method Detail |
|---|
public com.globalmentor.model.TaskState getTaskState()
null if no task has been started in relation to this card.public void setTaskState(com.globalmentor.model.TaskState newTaskState)
newTaskState - true if the corresponding card can be selected.TASK_STATE_PROPERTY
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||