Package com.luciad.beans.awt
Class TLcdBeanEditorPopupMenuAWT
java.lang.Object
java.awt.MenuComponent
java.awt.MenuItem
java.awt.Menu
java.awt.PopupMenu
com.luciad.gui.awt.TLcdPopupMenu
com.luciad.beans.awt.TLcdBeanEditorPopupMenuAWT
- All Implemented Interfaces:
MenuContainer
,Serializable
,Accessible
Deprecated.
Use a UI builder (e.g. Swing) or binding framework instead.
This is a support class for editing the properties of a Bean with
a PopupMenu.
Using an instance of TLcdBeanGUIFactory
, the setObject method will construct
the Menu by creating one MenuItem per editable property.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.PopupMenu
PopupMenu.AccessibleAWTPopupMenu
Nested classes/interfaces inherited from class java.awt.Menu
Menu.AccessibleAWTMenu
Nested classes/interfaces inherited from class java.awt.MenuItem
MenuItem.AccessibleAWTMenuItem
Nested classes/interfaces inherited from class java.awt.MenuComponent
MenuComponent.AccessibleAWTMenuComponent
-
Constructor Summary
ConstructorDescriptionDeprecated.Default constructorTLcdBeanEditorPopupMenuAWT
(Object aObject) Deprecated.Constructs the PopupMenu taking into account the properties of the givenObject
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPropertyChangeListener
(PropertyChangeListener aPropertyChangeListener) Deprecated.Adds a PropertyChangeListener to thisTLcdBeanEditorPopupMenuAWT
.protected void
builtAsPropertySheet
(Object aObject) Deprecated.Builds the PopupMenu taking into account aObject as a Bean to edit.static void
builtAsPropertySheetSFCT
(Object aObject, TLcdBeanGUIFactory aBeanGUIFactory, Menu aMenuSCFT) Deprecated.Builds the given Menu taking into account aObject as a Bean to edit, and aBeanGUIFactory to find editable properties.static boolean
Deprecated.This method has been deprecated.boolean
Deprecated.This method has been deprecated.void
removePropertyChangeListener
(PropertyChangeListener aPropertyChangeListener) Deprecated.Removes a PropertyChangeListener from thisTLcdBeanEditorPopupMenuAWT
.static void
setClassTraceOn
(boolean aClassTraceOn) Deprecated.This method has been deprecated.void
Deprecated.Builds the PopupMenu taking into account aObject as a Bean to edit.void
setTraceOn
(boolean aTraceOn) Deprecated.This method has been deprecated.void
Deprecated.Edit aBeanTarget on thisILcdPopupMenu
that shall popup on the given Component at aX and aY.Methods inherited from class com.luciad.gui.awt.TLcdPopupMenu
addILcdAction, isTraceOn, show
Methods inherited from class java.awt.PopupMenu
addNotify, getAccessibleContext, getParent
Methods inherited from class java.awt.Menu
add, add, addSeparator, countItems, getItem, getItemCount, insert, insert, insertSeparator, isTearOff, paramString, remove, remove, removeAll, removeNotify
Methods inherited from class java.awt.MenuItem
addActionListener, deleteShortcut, disable, disableEvents, enable, enable, enableEvents, getActionCommand, getActionListeners, getLabel, getListeners, getShortcut, isEnabled, processActionEvent, processEvent, removeActionListener, setActionCommand, setEnabled, setLabel, setShortcut
Methods inherited from class java.awt.MenuComponent
dispatchEvent, getFont, getName, getTreeLock, postEvent, setFont, setName, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
-
Constructor Details
-
TLcdBeanEditorPopupMenuAWT
public TLcdBeanEditorPopupMenuAWT()Deprecated.Default constructor -
TLcdBeanEditorPopupMenuAWT
Deprecated.Constructs the PopupMenu taking into account the properties of the givenObject
-
-
Method Details
-
setClassTraceOn
public static void setClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for all instances of this class. If the argument istrue
then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.- Parameters:
aClassTraceOn
- if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
-
getClassTraceOn
public static boolean getClassTraceOn()Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Returnstrue
if tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
setTraceOn
public void setTraceOn(boolean aTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for this class instance. Calling this method with eithertrue
orfalse
as argument automatically turns off tracing for all other class instances for whichsetTraceOn
has not been called. If the argument isfalse
then only the informative, warning and error log messages are recorded.- Overrides:
setTraceOn
in classTLcdPopupMenu
- Parameters:
aTraceOn
- if true then all log messages are recorded for this instance. If false, then only the informative, warning and error log messages are recorded.
-
getTraceOn
public boolean getTraceOn()Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Returnstrue
if tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
show
Deprecated.Edit aBeanTarget on thisILcdPopupMenu
that shall popup on the given Component at aX and aY. -
addPropertyChangeListener
Deprecated.Adds a PropertyChangeListener to thisTLcdBeanEditorPopupMenuAWT
. -
removePropertyChangeListener
Deprecated.Removes a PropertyChangeListener from thisTLcdBeanEditorPopupMenuAWT
. -
setObject
Deprecated.Builds the PopupMenu taking into account aObject as a Bean to edit. If the bean has a Customizer, the PopupMenu will contains a single MenuItem with as a label the String returned by getMenuItemLabelCustomizer -
builtAsPropertySheet
Deprecated.Builds the PopupMenu taking into account aObject as a Bean to edit. This method will callbuiltAsPropertySheetSFCT
() with this as a Menu. -
builtAsPropertySheetSFCT
public static void builtAsPropertySheetSFCT(Object aObject, TLcdBeanGUIFactory aBeanGUIFactory, Menu aMenuSCFT) Deprecated.Builds the given Menu taking into account aObject as a Bean to edit, and aBeanGUIFactory to find editable properties.
-