@Deprecated public class TLcdBeanEditorPopupMenuAWT extends TLcdPopupMenu
Using an instance of TLcdBeanGUIFactory
, the setObject method will construct
the Menu by creating one MenuItem per editable property.
PopupMenu.AccessibleAWTPopupMenu
Menu.AccessibleAWTMenu
MenuItem.AccessibleAWTMenuItem
MenuComponent.AccessibleAWTMenuComponent
Constructor and Description |
---|
TLcdBeanEditorPopupMenuAWT()
Deprecated.
Default constructor
|
TLcdBeanEditorPopupMenuAWT(Object aObject)
Deprecated.
Constructs the PopupMenu taking into account the properties of the given
Object |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener aPropertyChangeListener)
Deprecated.
Adds a PropertyChangeListener to this
TLcdBeanEditorPopupMenuAWT . |
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 |
getClassTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
boolean |
getTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
removePropertyChangeListener(PropertyChangeListener aPropertyChangeListener)
Deprecated.
Removes a PropertyChangeListener from this
TLcdBeanEditorPopupMenuAWT . |
static void |
setClassTraceOn(boolean aClassTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
setObject(Object aObject)
Deprecated.
Builds the PopupMenu taking into account aObject as a Bean to edit.
|
void |
setTraceOn(boolean aTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
show(Object aBeanTarget,
Component origin,
int aX,
int aY)
Deprecated.
Edit aBeanTarget on this
ILcdPopupMenu that shall popup on the given
Component at aX and aY. |
addILcdAction, isTraceOn, show
addNotify, getAccessibleContext, getParent
add, add, addSeparator, countItems, getItem, getItemCount, insert, insert, insertSeparator, isTearOff, paramString, remove, remove, removeAll, removeNotify
addActionListener, deleteShortcut, disable, disableEvents, enable, enable, enableEvents, getActionCommand, getActionListeners, getLabel, getListeners, getShortcut, isEnabled, processActionEvent, processEvent, removeActionListener, setActionCommand, setEnabled, setLabel, setShortcut
dispatchEvent, getFont, getName, getPeer, getTreeLock, postEvent, setFont, setName, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFont, postEvent
public TLcdBeanEditorPopupMenuAWT()
public TLcdBeanEditorPopupMenuAWT(Object aObject)
Object
public static void setClassTraceOn(boolean aClassTraceOn)
true
then all log messages are recorded, otherwise only
the informative, warning and error messages are recorded.aClassTraceOn
- if true then all log messages are recorded,
otherwise only the informative, warning and error messages are recorded.public static boolean getClassTraceOn()
true
if tracing is enabled for this class.public void setTraceOn(boolean aTraceOn)
true
or false
as argument automatically turns
off tracing for all other class instances for which
setTraceOn
has not been called.
If the argument is false
then only the informative, warning
and error log messages are recorded.setTraceOn
in class TLcdPopupMenu
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.public boolean getTraceOn()
true
if tracing is enabled for this class.public void show(Object aBeanTarget, Component origin, int aX, int aY)
ILcdPopupMenu
that shall popup on the given
Component at aX and aY.public void addPropertyChangeListener(PropertyChangeListener aPropertyChangeListener)
TLcdBeanEditorPopupMenuAWT
.public void removePropertyChangeListener(PropertyChangeListener aPropertyChangeListener)
TLcdBeanEditorPopupMenuAWT
.public void setObject(Object aObject)
protected void builtAsPropertySheet(Object aObject)
builtAsPropertySheetSFCT
()
with this as a Menu.public static void builtAsPropertySheetSFCT(Object aObject, TLcdBeanGUIFactory aBeanGUIFactory, Menu aMenuSCFT)