Class DisplayControlWrapper

All Implemented Interfaces:
PropertyChangeListener, EventListener, Sharable

public class DisplayControlWrapper extends DisplayComponent
Provides a table view
Version:
$Revision: 1.6 $
Author:
IDV Development Team
  • Field Details

    • DECORATION_NONE

      public static final int DECORATION_NONE
      type of decoration
      See Also:
    • DECORATION_BORDER

      public static final int DECORATION_BORDER
      type of decoration
      See Also:
    • DECORATION_TITLEDBORDER

      public static final int DECORATION_TITLEDBORDER
      type of decoration
      See Also:
    • DECORATIONS

      public static final int[] DECORATIONS
      type of decoration
    • DECORATION_NAMES

      public static final String[] DECORATION_NAMES
      type of decoration
  • Constructor Details

    • DisplayControlWrapper

      public DisplayControlWrapper()
      Default ctor
    • DisplayControlWrapper

      public DisplayControlWrapper(DisplayControlImpl myDisplayControl)
      Default ctor
      Parameters:
      myDisplayControl - My control
  • Method Details

    • initAfterUnPersistence

      public void initAfterUnPersistence(MultiDisplayHolder displayControl, ControlContext vc, Hashtable properties)
      Called by the IntegratedDataViewer to initialize after this control has been unpersisted
      Overrides:
      initAfterUnPersistence in class DisplayComponent
      Parameters:
      displayControl - The display control I am part of
      vc - The context in which this control exists
      properties - Properties that may hold things
    • propertyChange

      public void propertyChange(PropertyChangeEvent event)
      Handle the property change event
      Specified by:
      propertyChange in interface PropertyChangeListener
      Overrides:
      propertyChange in class PropertiedThing
      Parameters:
      event - The event
    • getPropertiesComponents

      protected void getPropertiesComponents(List comps, int tabIdx)
      Make the properties gui
      Overrides:
      getPropertiesComponents in class DisplayComponent
      Parameters:
      comps - List of components
      tabIdx - Which tab in the gui
    • applyProperties

      protected boolean applyProperties()
      Apply properties
      Overrides:
      applyProperties in class DisplayComponent
      Returns:
      Successful
    • getPopupMenuItems

      protected List getPopupMenuItems(List items)
      Add to the popup menu
      Overrides:
      getPopupMenuItems in class DisplayComponent
      Parameters:
      items - List of menu items
      Returns:
      The list
    • getTypeName

      public String getTypeName()
      Return the human readable name of this component
      Overrides:
      getTypeName in class DisplayComponent
      Returns:
      component type name
    • doRemove

      public void doRemove()
      Cleanup the component
      Overrides:
      doRemove in class DisplayComponent
    • doMakeContents

      protected JComponent doMakeContents()
      make the gui
      Specified by:
      doMakeContents in class DisplayComponent
      Returns:
      The gui contents
    • toString

      public String toString()
      to string
      Overrides:
      toString in class DisplayComponent
      Returns:
      string
    • setMyDisplayControl

      public void setMyDisplayControl(DisplayControlImpl value)
      Set the DisplayControl property.
      Parameters:
      value - The new value for DisplayControl
    • getMyDisplayControl

      public DisplayControlImpl getMyDisplayControl()
      Get the DisplayControl property.
      Returns:
      The DisplayControl
    • setDecoration

      public void setDecoration(int value)
      Set the Decoration property.
      Parameters:
      value - The new value for Decoration
    • getDecoration

      public int getDecoration()
      Get the Decoration property.
      Returns:
      The Decoration