Class OSPTableInspector

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

public class OSPTableInspector extends JDialog implements PropertyChangeListener
A dialog that displays an editable table of properties using an OSPControlTable.
Version:
1.0
Author:
Wolfgang Christian
See Also:
  • Constructor Details

    • OSPTableInspector

      public OSPTableInspector()
      Constructs editable modal inspector for specified XMLControl.
    • OSPTableInspector

      public OSPTableInspector(boolean editable)
      Constructs modal inspector for specified XMLControl and sets editable flag.
      Parameters:
      editable - true to enable editing
    • OSPTableInspector

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

      public OSPTableInspector(Frame owner, boolean editable, boolean modal)
      Constructs inspector for specified XMLControl and sets editable and modal flags.
      Parameters:
      owner - the frame's owner
      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