Class DynamicKeyCommandListConfigurer

java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.DynamicKeyCommandListConfigurer
All Implemented Interfaces:
ConfigurableList

public class DynamicKeyCommandListConfigurer extends Configurer implements ConfigurableList
  • Constructor Details

  • Method Details

    • isRemote

      public boolean isRemote()
    • getTarget

      public DynamicProperty getTarget()
    • setTarget

      public void setTarget(DynamicProperty target)
    • moveEntryUp

      public void moveEntryUp()
      Description copied from interface: ConfigurableList
      Move the currently selected list entry up one position The moved entry should retain the selection
      Specified by:
      moveEntryUp in interface ConfigurableList
    • moveEntryDown

      public void moveEntryDown()
      Description copied from interface: ConfigurableList
      Move the currently selected list entry down one position The moved entry should retain the selection
      Specified by:
      moveEntryDown in interface ConfigurableList
    • addEntry

      public void addEntry()
      Description copied from interface: ConfigurableList
      Add a new list entry after the currently selected entry, or at the bottom of the list if no entries selected. The new entry should be selected.
      Specified by:
      addEntry in interface ConfigurableList
    • deleteEntry

      public void deleteEntry(ConfigurableListEntry entry)
      Description copied from interface: ConfigurableList
      Remove the specified entry from the list. The entry following the removed entry should be selected, or the last entry in the list if the deleted entry was last.
      Specified by:
      deleteEntry in interface ConfigurableList
      Parameters:
      entry - Entry to delete.
    • selectEntry

      public void selectEntry(ConfigurableListEntry entry)
      Description copied from interface: ConfigurableList
      Set the selection to the specified list entry.
      Specified by:
      selectEntry in interface ConfigurableList
      Parameters:
      entry - Entry to select
    • setSelectedEntryIndex

      public void setSelectedEntryIndex(int index)
      Description copied from interface: ConfigurableList
      Set the currently selected entry
      Specified by:
      setSelectedEntryIndex in interface ConfigurableList
      Parameters:
      index - Index of currently selected entry
    • getSelectedEntryIndex

      public int getSelectedEntryIndex()
      Description copied from interface: ConfigurableList
      Return the index of the currently selected entry
      Specified by:
      getSelectedEntryIndex in interface ConfigurableList
      Returns:
      currently selected entry index
    • entryChanged

      public void entryChanged(ConfigurableListEntry entry)
      Description copied from interface: ConfigurableList
      An entry has had it's value changed
      Specified by:
      entryChanged in interface ConfigurableList
      Parameters:
      entry - Changed Entry
    • getListController

      public JComponent getListController()
      Description copied from interface: ConfigurableList
      Return the ListController associated with this Configurable List
      Specified by:
      getListController in interface ConfigurableList
      Returns:
      List Controller
    • getValueString

      public String getValueString()
      Specified by:
      getValueString in class Configurer
      Returns:
      a String representation of the Object value
    • getListValue

      public List<Object> getListValue()
    • setValue

      public void setValue(String s)
      Description copied from class: Configurer
      Set the Object value from a String
      Specified by:
      setValue in class Configurer
    • setValue

      public void setValue(Object o)
      Description copied from class: Configurer
      Set the Object value
      Overrides:
      setValue in class Configurer
    • getControls

      public Component getControls()
      Description copied from class: Configurer
      GUI interface for setting the option in an editing window
      Specified by:
      getControls in class Configurer
    • rebuildControls

      protected void rebuildControls()
    • repack

      public void repack()
      Description copied from class: Configurer
      Repack the current configurer
      Specified by:
      repack in interface ConfigurableList
      Overrides:
      repack in class Configurer