org.rosuda.ibase.toolkit
Class WTentry
java.lang.Object
org.rosuda.ibase.toolkit.WTentry
- Direct Known Subclasses:
- WTentryAWT, WTentrySwing
public abstract class WTentry
- extends java.lang.Object
a WinTracker
entry
- Version:
- $Id: WTentry.java 1908 2006-01-17 10:45:57Z wichtreyt $
Constructor Summary |
WTentry(WinTracker wt,
java.awt.Window win,
java.lang.String nam,
int wndclass)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
lid
public static int lid
windowMenuName
public static java.lang.String windowMenuName
w
public java.awt.Window w
name
public java.lang.String name
id
public int id
wclass
public int wclass
v
public SVar v
WTentry
public WTentry(WinTracker wt,
java.awt.Window win,
java.lang.String nam,
int wndclass)
getWindowMenu
public abstract java.lang.Object getWindowMenu()
addMenuSeparator
public abstract void addMenuSeparator()
addMenuItem
public abstract void addMenuItem(java.lang.String name,
java.lang.String action)
rmMenuItemByAction
public abstract void rmMenuItemByAction(java.lang.String action)
getMenuItemByAction
public abstract java.lang.Object getMenuItemByAction(java.lang.String action)
setNameByAction
public abstract void setNameByAction(java.lang.String action,
java.lang.String name)
addWindowMenuEntry
public java.lang.String addWindowMenuEntry(WTentry we)
- adds the entry for this object into a menu of another window specified by its entry.
- Parameters:
we
- the target window entry; if null
then uses itself
rmWindowMenuEntry
public void rmWindowMenuEntry(WTentry we)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object