Interface Selectable

    • Method Detail

      • isSelected

        boolean isSelected()
        Returns:
        whether this component is currently selected;
      • setSelected

        void setSelected(boolean state)
        Set whether this component is currently selected;
        Parameters:
        state - selected or not selected
      • addSelectionListener

        void addSelectionListener(SelectionListener listener)
        Add a new listener that informs you about selection changes.
        Parameters:
        listener - the listener to add.
      • removeSelectionListener

        void removeSelectionListener(SelectionListener listener)
        Remove the denoted listener from the list of listeners.
        Parameters:
        listener - the listener to remove.