Class TableConfigurer

java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.TableConfigurer
All Implemented Interfaces:
ActionListener, EventListener

public class TableConfigurer extends Configurer implements ActionListener
Author:
Brent Easton
  • Field Details

    • ADD_ACTION

      public static final String ADD_ACTION
    • DEL_ACTION

      public static final String DEL_ACTION
    • INS_ACTION

      public static final String INS_ACTION
    • controls

      protected Box controls
    • contents

      protected JPanel contents
    • columns

      protected TableConfigurer.Column[] columns
    • rowDelimiter

      protected char rowDelimiter
    • colDelimiter

      protected char colDelimiter
  • Constructor Details

  • Method Details

    • getValueString

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

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

      public void setRowDelimiter(char c)
    • setColDelimiter

      public void setColDelimiter(char c)
    • getColumnCount

      public int getColumnCount()
    • 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
    • buildControls

      protected void buildControls()
    • repack

      protected void repack()
      Description copied from class: Configurer
      Repack the current configurer
      Overrides:
      repack in class Configurer
    • updateContents

      protected void updateContents()
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener