Package VASSAL.configure
Interface ConfigurableListEntry
- All Superinterfaces:
EventListener,PropertyChangeListener
- All Known Implementing Classes:
AbstractConfigurableListEntry
public interface ConfigurableListEntry extends PropertyChangeListener
An interface to be implemented by Configurers that manage variable sized lists.
Each Configurable List entry maintains all info about a particular list entry
See also
ConfigurableList, ConfigurableListController, AbstractConfigurableListEntry-
Method Summary
Modifier and Type Method Description default voidaddPropertyChangeListener(PropertyChangeListener l)Add a Property Change Listener to the Configurer for this EntruvoidfocusGained()This Entry has gained the focusConfigurergetConfigurer()Return the Configurer associated with this entryJButtongetRemoveButton()Return the Remove button associated with this entrydefault voidremovePropertyChangeListener(PropertyChangeListener l)Remove a Property Change Listener from the Configurer for this EntruvoidrequestFocus()Ensure this entry has the focusvoidsetHighlighted(boolean b)Set the Highlight status of this enytryvoidupdateVisibility()Update the visibility of sub-items of this EntryMethods inherited from interface java.beans.PropertyChangeListener
propertyChange
-
Method Details
-
getRemoveButton
JButton getRemoveButton()Return the Remove button associated with this entry- Returns:
- Remove Button
-
getConfigurer
Configurer getConfigurer()Return the Configurer associated with this entry- Returns:
- Entry Configurer
-
updateVisibility
void updateVisibility()Update the visibility of sub-items of this Entry -
setHighlighted
void setHighlighted(boolean b)Set the Highlight status of this enytry- Parameters:
b- Highlight status
-
focusGained
void focusGained()This Entry has gained the focus -
requestFocus
void requestFocus()Ensure this entry has the focus -
addPropertyChangeListener
Add a Property Change Listener to the Configurer for this Entru- Parameters:
l- Listener
-
removePropertyChangeListener
Remove a Property Change Listener from the Configurer for this Entru- Parameters:
l- Listener
-