|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.event.GuiseBoundPropertyObject
com.guiseframework.model.ui.AbstractPresentationModel
com.guiseframework.component.AbstractComponent
com.guiseframework.component.AbstractControl
com.guiseframework.component.AbstractActionControl
com.guiseframework.component.AbstractActionValueControl<V>
com.guiseframework.component.AbstractSelectActionValueControl<V>
com.guiseframework.component.ValueSelectLink<com.globalmentor.model.TaskState>
com.guiseframework.component.TaskStateSelectLink
public class TaskStateSelectLink
Selectable link that stores a task state.
The link uses selected and unselected icons from the resources using resouce keys
select.action.selected.glyph and select.action.unselected.glyph, respectively.
The link uses task state icons from the resouces using resouce keys
task.state.taskState.glyph,
where taskState represents the task state enum value such as in its resource key form
such as task.state.incomplete.glyph,
and task.state..glyph for the null task state value.
Resources.getResourceKeyName(Enum)| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.guiseframework.component.AbstractComponent |
|---|
AbstractComponent.AbstractFlyoverFrameStrategy<S extends Component>, AbstractComponent.AbstractFlyoverStrategy<S extends Component>, AbstractComponent.DefaultFlyoverStrategy<S extends Component> |
| Nested classes/interfaces inherited from interface com.guiseframework.component.Control |
|---|
Control.Status |
| Field Summary | |
|---|---|
static java.net.URI |
SELECT_ACTION_SELECTED_GLYPH_RESOURCE_URI
The resource URI for the selected icon. |
static java.net.URI |
SELECT_ACTION_UNSELECTED_GLYPH_RESOURCE_URI
The resource URI for the unselected icon. |
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Fields inherited from interface com.guiseframework.component.SelectActionControl |
|---|
AUTO_SELECT_PROPERTY, SELECTED_GLYPH_URI_PROPERTY, TOGGLE_PROPERTY, UNSELECTED_GLYPH_URI_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Selectable |
|---|
SELECTED_PROPERTY |
| Fields inherited from interface com.guiseframework.component.ActionControl |
|---|
ROLLOVER_PROPERTY |
| Fields inherited from interface com.guiseframework.component.Control |
|---|
STATUS_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Enableable |
|---|
ENABLED_PROPERTY |
| Fields inherited from interface com.guiseframework.component.LabelDisplayableComponent |
|---|
ICON_DISPLAYED_PROPERTY, LABEL_DISPLAYED_PROPERTY |
| Fields inherited from interface com.guiseframework.component.ActionValueControl |
|---|
VALUE_GLYPH_URI_PROPERTY |
| Fields inherited from interface com.guiseframework.component.ValueControl |
|---|
CONVERTER_PROPERTY |
| Fields inherited from interface com.guiseframework.model.ValueModel |
|---|
VALIDATOR_PROPERTY, VALUE_PROPERTY |
| Constructor Summary | |
|---|---|
TaskStateSelectLink()
Default constructor. |
|
TaskStateSelectLink(InfoModel infoModel,
ActionModel actionModel,
ValueModel<com.globalmentor.model.TaskState> valueModel,
Enableable enableable)
Info model, action model, value model, and enableable object constructor. |
|
| Method Summary |
|---|
| Methods inherited from class com.guiseframework.component.AbstractSelectActionValueControl |
|---|
getSelectedGlyphURI, getUnselectedGlyphURI, isAutoSelect, isSelected, isToggle, setAutoSelect, setSelected, setSelectedGlyphURI, setToggle, setUnselectedGlyphURI |
| Methods inherited from class com.guiseframework.component.AbstractActionValueControl |
|---|
clearValue, determineValid, firePropertyChange, getDefaultValue, getValidator, getValue, getValueClass, getValueGlyphURI, getValueModel, isValidValue, reset, resetValue, setValidator, setValue, setValueGlyphURI, validate, validateValue |
| Methods inherited from class com.guiseframework.component.AbstractActionControl |
|---|
addActionListener, fireActionPerformed, fireActionPerformed, getActionListeners, getActionModel, isIconDisplayed, isLabelDisplayed, isRollover, performAction, performAction, removeActionListener, setIconDisplayed, setLabelDisplayed, setRollover |
| Methods inherited from class com.guiseframework.component.AbstractControl |
|---|
determineStatus, getEnableable, getStatus, isEnabled, setEnabled, setNotification, setStatus, updateStatus, updateValid |
| Methods inherited from class com.guiseframework.event.GuiseBoundPropertyObject |
|---|
getSession |
| Methods inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, 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, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.guiseframework.component.SelectActionControl |
|---|
getSelectedGlyphURI, getUnselectedGlyphURI, isAutoSelect, isToggle, setAutoSelect, setSelectedGlyphURI, setToggle, setUnselectedGlyphURI |
| Methods inherited from interface com.guiseframework.model.Selectable |
|---|
isSelected, setSelected |
| Methods inherited from interface com.guiseframework.component.ActionControl |
|---|
isRollover, setRollover |
| Methods inherited from interface com.guiseframework.component.Control |
|---|
getStatus, reset |
| Methods inherited from interface com.guiseframework.model.Enableable |
|---|
isEnabled, setEnabled |
| Methods inherited from interface com.guiseframework.model.ActionModel |
|---|
getActionListeners, performAction, performAction |
| Methods inherited from interface com.guiseframework.event.ActionListenable |
|---|
addActionListener, removeActionListener |
| Methods inherited from interface com.guiseframework.component.LabelDisplayableComponent |
|---|
isIconDisplayed, isLabelDisplayed, setIconDisplayed, setLabelDisplayed |
| Field Detail |
|---|
public static final java.net.URI SELECT_ACTION_SELECTED_GLYPH_RESOURCE_URI
public static final java.net.URI SELECT_ACTION_UNSELECTED_GLYPH_RESOURCE_URI
| Constructor Detail |
|---|
public TaskStateSelectLink()
public TaskStateSelectLink(InfoModel infoModel,
ActionModel actionModel,
ValueModel<com.globalmentor.model.TaskState> valueModel,
Enableable enableable)
infoModel - The component info model.actionModel - The component action model.valueModel - The component value model.enableable - The enableable object in which to store enabled status.
java.lang.NullPointerException - if the given info model, action model, and/or enableable object is null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||