|
|||||||||
| 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.AbstractCompositeComponent
com.guiseframework.component.AbstractMultipleCompositeComponent
com.guiseframework.component.AbstractCompositeStateComponent<T,S>
com.guiseframework.component.AbstractCompositeStateControl<V,AbstractListSelectControl.ValueComponentState>
com.guiseframework.component.AbstractListSelectControl<V>
com.guiseframework.component.ListControl<V>
V - The type of values to select.public class ListControl<V>
Control to allow selection of one or more values from a list.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.guiseframework.component.AbstractListSelectControl |
|---|
AbstractListSelectControl.ConverterInfoModelValueRepresentationStrategy<VV>, AbstractListSelectControl.DefaultValueRepresentationStrategy<VV>, AbstractListSelectControl.ValueComponentState |
| Nested classes/interfaces inherited from class com.guiseframework.component.AbstractCompositeStateComponent |
|---|
AbstractCompositeStateComponent.ComponentState |
| 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.ListSelectControl |
|---|
ListSelectControl.ValueRepresentationStrategy<VV> |
| Nested classes/interfaces inherited from interface com.guiseframework.component.Control |
|---|
Control.Status |
| Nested classes/interfaces inherited from interface com.guiseframework.component.Component |
|---|
Component.FlyoverStrategy<S extends Component> |
| Field Summary | |
|---|---|
static java.lang.String |
ROW_COUNT_PROPERTY
The row count bound property. |
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Fields inherited from interface com.guiseframework.component.SelectControl |
|---|
VALUE_REPRESENTATION_STRATEGY_PROPERTY |
| Fields inherited from interface com.guiseframework.component.ValueControl |
|---|
CONVERTER_PROPERTY |
| Fields inherited from interface com.guiseframework.component.Control |
|---|
STATUS_PROPERTY |
| Fields inherited from interface com.guiseframework.component.Component |
|---|
BOOKMARK_ENABLED_PROPERTY, CONSTRAINTS_PROPERTY, DRAG_ENABLED_PROPERTY, DROP_ENABLED_PROPERTY, FLYOVER_ENABLED_PROPERTY, FLYOVER_STRATEGY_PROPERTY, INPUT_STRATEGY_PROPERTY, NAME_PROPERTY, NOTIFICATION_PROPERTY, ORIENTATION_PROPERTY, THEME_APPLIED_PROPERTY, VALID_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Displayable |
|---|
DISPLAYED_PROPERTY |
| 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.Enableable |
|---|
ENABLED_PROPERTY |
| Fields inherited from interface com.guiseframework.model.ValueModel |
|---|
VALIDATOR_PROPERTY, VALUE_PROPERTY |
| Constructor Summary | |
|---|---|
ListControl(java.lang.Class<V> valueClass)
Value class constructor with a default data model to represent a given type with multiple selection. |
|
ListControl(java.lang.Class<V> valueClass,
boolean multipleSelection)
Value class constructor with a default data model to represent a given type. |
|
ListControl(java.lang.Class<V> valueClass,
boolean multipleSelection,
int rowCount)
Value class and row count constructor with a default data model to represent a given type. |
|
ListControl(java.lang.Class<V> valueClass,
int rowCount)
Value class and row count constructor with a default data model to represent a given type with multiple selection. |
|
ListControl(java.lang.Class<V> valueClass,
ListSelectionPolicy<V> selectionStrategy)
Value class and selection strategy constructor with a default data model to represent a given type. |
|
ListControl(java.lang.Class<V> valueClass,
ListSelectionPolicy<V> selectionStrategy,
int rowCount)
Value class, selection strategy, and row count constructor with a default data model to represent a given type. |
|
ListControl(ListSelectModel<V> listSelectModel)
List select model constructor. |
|
ListControl(ListSelectModel<V> listSelectModel,
int rowCount)
List select model and row count constructor. |
|
ListControl(ListSelectModel<V> listSelectModel,
ListSelectControl.ValueRepresentationStrategy<V> valueRepresentationStrategy)
List select model and value representation strategy constructor. |
|
ListControl(ListSelectModel<V> listSelectModel,
ListSelectControl.ValueRepresentationStrategy<V> valueRepresentationStrategy,
int rowCount)
List select model, value representation strategy, and row count constructor. |
|
| Method Summary | |
|---|---|
int |
getRowCount()
|
void |
setRowCount(int newRowCount)
Sets the estimated number of rows requested to be visible. |
| Methods inherited from class com.guiseframework.component.AbstractCompositeStateControl |
|---|
determineStatus, getEnableable, getStatus, isEnabled, setEnabled, setNotification, setStatus, updateStatus, updateValid |
| Methods inherited from class com.guiseframework.component.AbstractCompositeStateComponent |
|---|
clearComponentStates, determineComponentState, getComponentState, getComponentStates, getObject, putComponentState, removeComponentState |
| Methods inherited from class com.guiseframework.component.AbstractMultipleCompositeComponent |
|---|
addComponent, getChildComponents, hasChildComponents, removeComponent |
| 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, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.guiseframework.component.Control |
|---|
getStatus |
| Methods inherited from interface com.guiseframework.platform.DepictedObject |
|---|
depict, getDepictID, getSession, processEvent |
| Methods inherited from interface com.guiseframework.model.InfoModel |
|---|
getDescription, getDescriptionContentType, getInfo, getInfoContentType, setDescription, setDescriptionContentType, setInfo, setInfoContentType |
| Methods inherited from interface com.guiseframework.model.LabelModel |
|---|
getGlyphURI, getLabel, getLabelContentType, setGlyphURI, setLabel, setLabelContentType |
| 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.Enableable |
|---|
isEnabled, setEnabled |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode |
| Field Detail |
|---|
public static final java.lang.String ROW_COUNT_PROPERTY
| Constructor Detail |
|---|
public ListControl(java.lang.Class<V> valueClass)
valueClass - The class indicating the type of value held in the model.
java.lang.NullPointerException - if the given value class is null.
public ListControl(java.lang.Class<V> valueClass,
boolean multipleSelection)
valueClass - The class indicating the type of value held in the model.multipleSelection - true if the list control should allow multiple selections, else false if only a single selection is allowed.
java.lang.NullPointerException - if the given value class is null.
public ListControl(java.lang.Class<V> valueClass,
int rowCount)
valueClass - The class indicating the type of value held in the model.rowCount - The requested number of visible rows, or -1 if no row count is specified.
java.lang.NullPointerException - if the given value class is null.
public ListControl(java.lang.Class<V> valueClass,
boolean multipleSelection,
int rowCount)
valueClass - The class indicating the type of value held in the model.multipleSelection - true if the list control should allow multiple selections, else false if only a single selection is allowed.rowCount - The requested number of visible rows, or -1 if no row count is specified.
java.lang.NullPointerException - if the given value class is null.
public ListControl(java.lang.Class<V> valueClass,
ListSelectionPolicy<V> selectionStrategy)
valueClass - The class indicating the type of value held in the model.selectionStrategy - The strategy for selecting values in the model.
java.lang.NullPointerException - if the given value class and/or selection strategy is null.
public ListControl(java.lang.Class<V> valueClass,
ListSelectionPolicy<V> selectionStrategy,
int rowCount)
valueClass - The class indicating the type of value held in the model.selectionStrategy - The strategy for selecting values in the model.rowCount - The requested number of visible rows, or -1 if no row count is specified.
java.lang.NullPointerException - if the given value class and/or selection strategy is null.public ListControl(ListSelectModel<V> listSelectModel)
listSelectModel - The component list select model.
java.lang.NullPointerException - if the given list select model is null.
public ListControl(ListSelectModel<V> listSelectModel,
int rowCount)
listSelectModel - The component list select model.rowCount - The requested number of visible rows, or -1 if no row count is specified.
java.lang.NullPointerException - if the given list select model is null.
public ListControl(ListSelectModel<V> listSelectModel,
ListSelectControl.ValueRepresentationStrategy<V> valueRepresentationStrategy)
listSelectModel - The component list select model.valueRepresentationStrategy - The strategy to create label models to represent this model's values.
java.lang.NullPointerException - if the given list select model and/or value representation strategy is null.
public ListControl(ListSelectModel<V> listSelectModel,
ListSelectControl.ValueRepresentationStrategy<V> valueRepresentationStrategy,
int rowCount)
listSelectModel - The component list select model.valueRepresentationStrategy - The strategy to create label models to represent this model's values.rowCount - The requested number of visible rows, or -1 if no row count is specified.
java.lang.NullPointerException - if the given list select model and/or value representation strategy is null.| Method Detail |
|---|
public int getRowCount()
public void setRowCount(int newRowCount)
Integer.
newRowCount - The new requested number of visible rows, or -1 if no row count is specified.ROW_COUNT_PROPERTY
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||