Class XMLTableInspector

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class XMLTableInspector extends JDialog implements PropertyChangeListener
A dialog that displays an editable table of XMLControl properties.
Version:
1.0
Author:
Douglas Brown
See Also:
  • Constructor Details

    • XMLTableInspector

      public XMLTableInspector(XMLControl control)
      Constructs editable modal inspector for specified XMLControl.
      Parameters:
      control - the xml control
    • XMLTableInspector

      public XMLTableInspector(XMLControl control, boolean editable)
      Constructs modal inspector for specified XMLControl and sets editable flag.
      Parameters:
      control - the xml control
      editable - true to enable editing
    • XMLTableInspector

      public XMLTableInspector(XMLControl control, boolean editable, boolean modal)
      Constructs inspector for specified XMLControl and sets editable and modal flags.
      Parameters:
      control - the xml control
      editable - true to enable editing
      modal - true if modal
    • XMLTableInspector

      public XMLTableInspector(boolean editable, boolean modal)
      Constructs inspector using an OSPControlTable and sets the editable and modal flags.
      Parameters:
      editable - true to enable editing
      modal - true if modal
  • Method Details

    • getControl

      public Control getControl()
      Gets the Control associated with this table.
      Returns:
      Control
    • propertyChange

      public void propertyChange(PropertyChangeEvent e)
      Listens for property change events from XMLTable.
      Specified by:
      propertyChange in interface PropertyChangeListener
      Parameters:
      e - the property change event
    • getTable

      public XMLTable getTable()
      Gets the XMLTable.
      Returns:
      the table
    • setTable

      public void setTable(XMLTable xmlTable)
      Sets the XMLTable.
    • getXMLControl

      public XMLControl getXMLControl()
      Gets the XMLControl associated with this table.
      Returns:
      XMLControl