Uses of Class
ca.corbett.extras.properties.ListProperty

Packages that use ListProperty
Package
Description
Contains a custom Properties implementation to augment the one provided by java.
  • Uses of ListProperty in ca.corbett.extras.properties

    Modifier and Type
    Method
    Description
    ListProperty.setButtonAlignment(int buttonAlignment)
    If the ListField generated from this property is to include buttons, this sets the alignment of those buttons (requires a FormFieldGenerationListener to add buttons).
    ListProperty.setButtonHgap(int buttonHgap)
    If the ListField generated from this property is to include buttons, this sets the horizontal gap between those buttons (requires a FormFieldGenerationListener to add buttons).
    ListProperty.setButtonLayout(int buttonAlignment, int buttonHgap, int buttonVgap)
    A convenience method to set button alignment, horizontal gap, and vertical gap all at once.
    ListProperty.setButtonPosition(ListField.ButtonPosition buttonPosition)
    If the ListField generated from this property is to include buttons, this sets the position of those buttons (requires a FormFieldGenerationListener to add buttons).
    ListProperty.setButtonPreferredDimensions(int buttonPreferredWidth, int buttonPreferredHeight)
    If the ListField generated from this property is to include buttons, this sets the preferred dimensions of those buttons (requires a FormFieldGenerationListener to add buttons).
    ListProperty.setButtonVgap(int buttonVgap)
    If the ListField generated from this property is to include buttons, this sets the vertical gap between those buttons (requires a FormFieldGenerationListener to add buttons).
    ListProperty.setFixedCellWidth(int width)
    Sets the pixel width of each list cell.
    ListProperty.setItems(List<T> items)
    Sets the items to include in the list.
    ListProperty.setLayoutOrientation(int orientation)
    Sets the layout orientation (allowable values are JList.VERTICAL, JList.VERTICAL_WRAP, and JList.HORIZONTAL_WRAP).
    ListProperty.setSelectedItems(List<T> items)
    Clears any current selection and marks each of the given items as selected, if the item exists.
    ListProperty.setSelectionMode(int selectionMode)
    Sets the list selection model (allowable values are ListSelectionModel.SINGLE_SELECTION, ListSelectionModel.MULTIPLE_INTERVAL_SELECTION, and ListSelectionModel.SINGLE_INTERVAL_SELECTION).
    ListProperty.setVisibleRowCount(int count)
    Sets the desired visible row count.