|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListBoxInterface
Method Summary | |
---|---|
void |
clearSelection()
Clears any selection on the component. |
java.util.Comparator |
getComparator()
|
Decorator |
getDecorator()
Gets the decorator, if any is configured. |
Font |
getFont()
|
java.lang.String |
getInvalidMessage()
Gets the message key that is added to the screen, when the component is marked as invalid. |
java.util.List |
getList()
Gets the list of java beans the user can select from. |
int |
getWidth()
|
int |
getWidthUnits()
|
boolean |
isMultiSelect()
Gets whether or not the listbox allows multiple items to be selected. |
void |
setComparator(java.util.Comparator comparator)
|
void |
setDecorator(Decorator decorator)
Sets the decorator. |
void |
setFocused(boolean b)
|
void |
setFont(Font font)
|
void |
setInvalidMessage(java.lang.String invalidMessage)
Sets the message key that is shown when the component is marked as invalid. |
void |
setList(java.util.List list)
Sets the list of java beans the user can select from. |
void |
setMultiSelect(boolean allowMultiSelect)
Sets whether or not the listbox allows multiple items to be selected. |
void |
setWidth(int width)
|
void |
setWidthUnits(int widthUnits)
|
Methods inherited from interface net.sf.jzeno.echo.databinding.PropertyComponent |
---|
addValidator, getBean, getBeanClass, getProperty, getValidationErrors, getValidators, getValue, isMarkedInvalid, isReadOnly, isRequired, isValid, markInvalid, markValid, preRender, removeValidator, setBean, setBeanClass, setProperty, setReadOnly, setRequired, setValue |
Method Detail |
---|
java.util.List getList()
Gets the list of java beans the user can select from.
void setList(java.util.List list)
Sets the list of java beans the user can select from.
Decorator getDecorator()
PropertyComponent
Gets the decorator, if any is configured.
getDecorator
in interface PropertyComponent
void setDecorator(Decorator decorator)
PropertyComponent
Sets the decorator.
setDecorator
in interface PropertyComponent
java.lang.String getInvalidMessage()
Gets the message key that is added to the screen, when the component is
marked as invalid. Also see setInvalidMessage(String)
.
void setInvalidMessage(java.lang.String invalidMessage)
Sets the message key that is shown when the component is marked as
invalid. Typically the component is marked invalid when you call
in
your code. The value specified for this property is translated through
the i18n support in jZeno (EchoSupport.doValidationRecursively(Component)
i18n.properties
).
boolean isMultiSelect()
Gets whether or not the listbox allows multiple items to be selected.
void setMultiSelect(boolean allowMultiSelect)
Sets whether or not the listbox allows multiple items to be selected.
void clearSelection()
Clears any selection on the component.
void setComparator(java.util.Comparator comparator)
java.util.Comparator getComparator()
void setWidth(int width)
int getWidth()
void setWidthUnits(int widthUnits)
int getWidthUnits()
void setFocused(boolean b)
void setFont(Font font)
Font getFont()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |