|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.component.AbstractListSelectContainerControl.ComponentRepresentationStrategy
public static class AbstractListSelectContainerControl.ComponentRepresentationStrategy
A strategy for to represent components in a list select model as themselves.
| Constructor Summary | |
|---|---|
AbstractListSelectContainerControl.ComponentRepresentationStrategy()
|
|
| Method Summary | |
|---|---|
Component |
createComponent(ListSelectModel<Component> model,
Component value,
int index,
boolean selected,
boolean focused)
Creates a component for the given list value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractListSelectContainerControl.ComponentRepresentationStrategy()
| Method Detail |
|---|
public Component createComponent(ListSelectModel<Component> model,
Component value,
int index,
boolean selected,
boolean focused)
createComponent in interface ListSelectControl.ValueRepresentationStrategy<Component>model - The model containing the value.value - The value for which a component should be created.index - The index of the value within the list, or -1 if the value is not in the list (e.g. for representing no selection).selected - true if the value is selected.focused - true if the value has the focus.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||