Class DynamicKeyCommandConfigurer

java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.DynamicKeyCommandConfigurer

public class DynamicKeyCommandConfigurer extends Configurer
  • Field Details

  • Constructor Details

    • DynamicKeyCommandConfigurer

      public DynamicKeyCommandConfigurer(DynamicProperty target)
  • Method Details

    • getTarget

      public DynamicProperty getTarget()
    • setTarget

      public void setTarget(DynamicProperty target)
    • getValueString

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

      public void setFrozen(boolean val)
      Freeze the Configurer from issuing PropertyChange Events. Ensure the subsidiary Configurers are quiet also.
      Overrides:
      setFrozen in class Configurer
      Parameters:
      val - true to freeze
    • setValue

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

      public DynamicProperty.DynamicKeyCommand getKeyCommand()
    • setValue

      public void setValue(String s)
      Description copied from class: Configurer
      Set the Object value from a String
      Specified by:
      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
    • updateValue

      public void updateValue()
    • buildControls

      protected void buildControls()
    • getCommandControls

      public Component getCommandControls()
    • getKeyControls

      public Component getKeyControls()
    • getTypeControls

      public Component getTypeControls()
    • getChangerControls

      public Component getChangerControls()
    • getValuesControls

      public Component getValuesControls()
    • isEnumType

      public boolean isEnumType()
    • setHighlighted

      public void setHighlighted(boolean highlighted)
      Description copied from class: Configurer
      Set the highlighted status of this configurer. It is up to individual Configurers to over-ride this method and implement a suitable visual highlighting scheme Note: Cannot make this abstract as it will break custom code.
      Overrides:
      setHighlighted in class Configurer
      Parameters:
      highlighted - New Highlighted status
    • addFocusListener

      public void addFocusListener(FocusListener listener)
      Description copied from class: Configurer
      Add a FocusListener to the Swing Components that make up this Configurer.
      Overrides:
      addFocusListener in class Configurer
      Parameters:
      listener - Focus Listener
    • removeFocusListener

      public void removeFocusListener(FocusListener listener)
      Description copied from class: Configurer
      Remove a FocusListener from the Swing Components that make up this Configurer.
      Overrides:
      removeFocusListener in class Configurer
      Parameters:
      listener - Focus Listener
    • requestFocus

      public void requestFocus()
      Description copied from class: Configurer
      Move the cursor to the first input field of this Configurer
      Overrides:
      requestFocus in class Configurer