public class DisplayControlWrapper extends DisplayComponent
| Modifier and Type | Field and Description |
|---|---|
static int |
DECORATION_BORDER
type of decoration
|
static java.lang.String[] |
DECORATION_NAMES
type of decoration
|
static int |
DECORATION_NONE
type of decoration
|
static int |
DECORATION_TITLEDBORDER
type of decoration
|
static int[] |
DECORATIONS
type of decoration
|
CMD_SAVEIMAGE, CMD_SAVEMOVIE, displayControl, displayLabel, hasBeenInitialized, isRemoved, PROP_REMOVEDpropertiesDialog| Constructor and Description |
|---|
DisplayControlWrapper()
Default ctor
|
DisplayControlWrapper(DisplayControlImpl myDisplayControl)
Default ctor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
applyProperties()
Apply properties
|
protected javax.swing.JComponent |
doMakeContents()
make the gui
|
void |
doRemove()
Cleanup the component
|
int |
getDecoration()
Get the Decoration property.
|
DisplayControlImpl |
getMyDisplayControl()
Get the DisplayControl property.
|
protected java.util.List |
getPopupMenuItems(java.util.List items)
Add to the popup menu
|
protected void |
getPropertiesComponents(java.util.List comps,
int tabIdx)
Make the properties gui
|
java.lang.String |
getTypeName()
Return the human readable name of this component
|
void |
initAfterUnPersistence(MultiDisplayHolder displayControl,
ControlContext vc,
java.util.Hashtable properties)
Called by the
IntegratedDataViewer to
initialize after this control has been unpersisted |
void |
propertyChange(java.beans.PropertyChangeEvent event)
Handle the property change event
|
void |
setDecoration(int value)
Set the Decoration property.
|
void |
setMyDisplayControl(DisplayControlImpl value)
Set the DisplayControl property.
|
java.lang.String |
toString()
to string
|
addGroupMenuItems, animationTimeChanged, doApplyProperties, doMakeDisplayLabel, doSaveImage, doSaveMovie, getBackgroundColor, getContents, getDisplayables, getDisplayControl, getDisplayGroup, getDisplayLabel, getIsRemoved, getLabelShown, getName, initDone, loadData, removeDisplayComponent, setBackgroundColor, setDisplayControl, setDisplayGroup, setIsRemoved, setLabelShown, setName, showPopup, showPropertiesaddPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyListeners, getPropertyTabs, isShowing, removePropertyChangeListener, showPropertiesapplySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialogpublic static final int DECORATION_NONE
public static final int DECORATION_BORDER
public static final int DECORATION_TITLEDBORDER
public static final int[] DECORATIONS
public static final java.lang.String[] DECORATION_NAMES
public DisplayControlWrapper()
public DisplayControlWrapper(DisplayControlImpl myDisplayControl)
myDisplayControl - My controlpublic void initAfterUnPersistence(MultiDisplayHolder displayControl, ControlContext vc, java.util.Hashtable properties)
IntegratedDataViewer to
initialize after this control has been unpersistedinitAfterUnPersistence in class DisplayComponentdisplayControl - The display control I am part ofvc - The context in which this control existsproperties - Properties that may hold thingspublic void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerpropertyChange in class PropertiedThingevent - The eventprotected void getPropertiesComponents(java.util.List comps,
int tabIdx)
getPropertiesComponents in class DisplayComponentcomps - List of componentstabIdx - Which tab in the guiprotected boolean applyProperties()
applyProperties in class DisplayComponentprotected java.util.List getPopupMenuItems(java.util.List items)
getPopupMenuItems in class DisplayComponentitems - List of menu itemspublic java.lang.String getTypeName()
getTypeName in class DisplayComponentpublic void doRemove()
doRemove in class DisplayComponentprotected javax.swing.JComponent doMakeContents()
doMakeContents in class DisplayComponentpublic java.lang.String toString()
toString in class DisplayComponentpublic void setMyDisplayControl(DisplayControlImpl value)
value - The new value for DisplayControlpublic DisplayControlImpl getMyDisplayControl()
public void setDecoration(int value)
value - The new value for Decorationpublic int getDecoration()