Uses of Class
ca.corbett.forms.fields.ListField
Packages that use ListField
Package
Description
This package contains action classes related to swing-forms.
This package contains demo panels that showcase some of the features
of swing-forms and gives some examples of how to do stuff with it.
ca.corbett.forms.fields
All FormFields support optional validation in the form of a FieldValidator.
-
Uses of ListField in ca.corbett.forms.actions
Constructors in ca.corbett.forms.actions with parameters of type ListFieldModifierConstructorDescriptionListItemClearAction(ListField<?> listField) Creates a new ListItemClearAction with the default name and the given ListField.ListItemClearAction(String name, ListField<?> listField) Creates a new ListItemClearAction with the specified name and ListField.ListItemClearAction(Icon icon, ListField<?> listField) Creates a new ListItemClearAction with the specified icon and ListField.ListItemMoveAction(ListField<T> listField, ListItemMoveAction.Direction direction) Creates a new ListItemMoveAction with the default name and the given ListField.ListItemMoveAction(String name, ListField<T> listField, ListItemMoveAction.Direction direction) Creates a new ListItemMoveAction with the specified name and ListField.ListItemMoveAction(Icon icon, ListField<T> listField, ListItemMoveAction.Direction direction) Creates a new ListItemMoveAction with the specified icon and ListField.ListItemRemoveAction(ListField<?> listField) Creates a new ListItemRemoveAction with the default name and the given ListField.ListItemRemoveAction(String name, ListField<?> listField) Creates a new ListItemRemoveAction with the specified name and ListField.ListItemRemoveAction(Icon icon, ListField<?> listField) Creates a new ListItemRemoveAction with the specified icon and ListField.ListItemSelectAllAction(ListField<?> listField) Creates a new ListItemSelectAllAction with the default name and the given ListField.ListItemSelectAllAction(String name, ListField<?> listField) Creates a new ListItemSelectAllAction with the specified name and ListField.ListItemSelectAllAction(Icon icon, ListField<?> listField) Creates a new ListItemSelectAllAction with the specified icon and ListField. -
Uses of ListField in ca.corbett.forms.demo
Constructors in ca.corbett.forms.demo with parameters of type ListField -
Uses of ListField in ca.corbett.forms.fields
Methods in ca.corbett.forms.fields that return ListFieldModifier and TypeMethodDescriptionAdds an Action to the button panel.ListField.addListDataListener(ListDataListener listener) A convenience method to add a ListDataListener to the underlying ListModel.ListField.removeListDataListener(ListDataListener listener) Convenience method to remove a ListDataListener from the underlying ListModel.ListField.setButtonAlignment(int alignment) One of FlowLayout's alignment options: LEFT, CENTER, RIGHT, LEADING, or TRAILING from the FlowLayout class.ListField.setButtonHgap(int hgap) Sets the horizontal gap between buttons, and between buttons and the edge of the containing panel.ListField.setButtonLayout(int alignment, int hgap, int vgap) A convenience method to set alignment, hgap, and vgap all at once.ListField.setButtonPanelBorder(Border border) Allows callers to set a border on the button panel.ListField.setButtonPosition(ListField.ButtonPosition position) Sets the position of the button panel (above or below the list).ListField.setButtonPreferredSize(Dimension dim) Allow changing the preferred size of buttons in the button panel.ListField.setButtonVgap(int vgap) Sets the vertical gap between buttons, and between buttons and the edge of the containing panel.ListField.setCellRenderer(ListCellRenderer<T> renderer) You can optionally set a custom cell renderer if your list items have special display requirements.ListField.setFixedCellWidth(int width) Sets the pixel width of each list cell.ListField.setLayoutOrientation(int orientation) Sets the layout orientation (allowable values are JList.VERTICAL, JList.VERTICAL_WRAP, and JList.HORIZONTAL_WRAP).ListField.setSelectedIndex(int index) Sets a specific list index to select.ListField.setSelectedIndexes(int[] selection) Sets the selected indexes for the list.ListField.setSelectionMode(int selectionMode) Sets the list selection model (allowable values are ListSelectionModel.SINGLE_SELECTION, ListSelectionModel.MULTIPLE_INTERVAL_SELECTION, and ListSelectionModel.SINGLE_INTERVAL_SELECTION).ListField.setVisibleRowCount(int count) Sets the desired visible row count. -
Uses of ListField in ca.corbett.forms.validators
Methods in ca.corbett.forms.validators with parameters of type ListFieldModifier and TypeMethodDescription