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_REMOVED
propertiesDialog
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, showProperties
addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyListeners, getPropertyTabs, isShowing, removePropertyChangeListener, showProperties
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
public 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 DisplayComponent
displayControl
- 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.PropertyChangeListener
propertyChange
in class PropertiedThing
event
- The eventprotected void getPropertiesComponents(java.util.List comps, int tabIdx)
getPropertiesComponents
in class DisplayComponent
comps
- List of componentstabIdx
- Which tab in the guiprotected boolean applyProperties()
applyProperties
in class DisplayComponent
protected java.util.List getPopupMenuItems(java.util.List items)
getPopupMenuItems
in class DisplayComponent
items
- List of menu itemspublic java.lang.String getTypeName()
getTypeName
in class DisplayComponent
public void doRemove()
doRemove
in class DisplayComponent
protected javax.swing.JComponent doMakeContents()
doMakeContents
in class DisplayComponent
public java.lang.String toString()
toString
in class DisplayComponent
public 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()