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.AccessibleAWTPopupMenuNested classes/interfaces inherited from class java.awt.Menu
Menu.AccessibleAWTMenuNested classes/interfaces inherited from class java.awt.MenuItem
MenuItem.AccessibleAWTMenuItemNested classes/interfaces inherited from class java.awt.MenuComponent
MenuComponent.AccessibleAWTMenuComponent -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Default constructorTLcdBeanEditorPopupMenuAWT(Object aObject) Deprecated.Constructs the PopupMenu taking into account the properties of the givenObject -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPropertyChangeListener(PropertyChangeListener aPropertyChangeListener) Deprecated.Adds a PropertyChangeListener to thisTLcdBeanEditorPopupMenuAWT.protected voidbuiltAsPropertySheet(Object aObject) Deprecated.Builds the PopupMenu taking into account aObject as a Bean to edit.static voidbuiltAsPropertySheetSFCT(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 booleanDeprecated.This method has been deprecated.booleanDeprecated.This method has been deprecated.voidremovePropertyChangeListener(PropertyChangeListener aPropertyChangeListener) Deprecated.Removes a PropertyChangeListener from thisTLcdBeanEditorPopupMenuAWT.static voidsetClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated.voidDeprecated.Builds the PopupMenu taking into account aObject as a Bean to edit.voidsetTraceOn(boolean aTraceOn) Deprecated.This method has been deprecated.voidDeprecated.Edit aBeanTarget on thisILcdPopupMenuthat shall popup on the given Component at aX and aY.Methods inherited from class com.luciad.gui.awt.TLcdPopupMenu
addILcdAction, isTraceOn, showMethods inherited from class java.awt.PopupMenu
addNotify, getAccessibleContext, getParentMethods inherited from class java.awt.Menu
add, add, addSeparator, countItems, getItem, getItemCount, insert, insert, insertSeparator, isTearOff, paramString, remove, remove, removeAll, removeNotifyMethods 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, setShortcutMethods inherited from class java.awt.MenuComponent
dispatchEvent, getFont, getName, getTreeLock, postEvent, setFont, setName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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 istruethen 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.Returnstrueif 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 eithertrueorfalseas argument automatically turns off tracing for all other class instances for whichsetTraceOnhas not been called. If the argument isfalsethen only the informative, warning and error log messages are recorded.- Overrides:
setTraceOnin 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.Returnstrueif tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
show
Deprecated.Edit aBeanTarget on thisILcdPopupMenuthat 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.
-