|
|||||||||
| Home >> All >> org >> gjt >> sp >> jedit >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.gjt.sp.jedit.gui
Class MacrosMenu

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JMenuItem
javax.swing.JMenu
org.gjt.sp.jedit.gui.EnhancedMenu
org.gjt.sp.jedit.gui.MacrosMenu
- All Implemented Interfaces:
- javax.accessibility.Accessible, org.gjt.sp.jedit.EBComponent, java.util.EventListener, java.awt.image.ImageObserver, java.awt.ItemSelectable, java.awt.MenuContainer, javax.swing.MenuElement, javax.swing.event.MenuListener, java.io.Serializable, javax.swing.SwingConstants
- public class MacrosMenu
- extends EnhancedMenu
- implements org.gjt.sp.jedit.EBComponent
- extends EnhancedMenu
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JMenu |
javax.swing.JMenu.AccessibleJMenu, javax.swing.JMenu.WinListener |
| Nested classes inherited from class javax.swing.JMenuItem |
javax.swing.JMenuItem.AccessibleJMenuItem |
| Nested classes inherited from class javax.swing.AbstractButton |
javax.swing.AbstractButton.AccessibleAbstractButton, javax.swing.AbstractButton.ButtonChangeListener |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary |
| Fields inherited from class org.gjt.sp.jedit.gui.EnhancedMenu |
_name, initialized |
| Fields inherited from class javax.swing.JMenu |
popupListener |
| Fields inherited from class javax.swing.JMenuItem |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
MacrosMenu()
|
|
| Method Summary | |
void |
addNotify()
Receives notification if this component is added to a parent component. |
private void |
createMacrosMenu(javax.swing.JMenu menu,
java.util.Vector vector,
int start)
|
void |
handleMessage(org.gjt.sp.jedit.EBMessage msg)
Handles a message sent on the EditBus. |
void |
init()
|
void |
removeNotify()
Receives notification that this component no longer has a parent. |
private void |
updateMacrosMenu()
|
| Methods inherited from class org.gjt.sp.jedit.gui.EnhancedMenu |
menuCanceled, menuDeselected, menuSelected |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.swing.MenuElement |
processKeyEvent, processMouseEvent |
| Constructor Detail |
MacrosMenu
public MacrosMenu()
| Method Detail |
addNotify
public void addNotify()
- Description copied from class:
javax.swing.JComponent - Receives notification if this component is added to a parent component.
Notification is sent to all registered AncestorListeners about the
new parent.
This method sets up ActionListeners for all registered KeyStrokes of
this component in the chain of parent components.
A PropertyChange event is fired to indicate that the ancestor property
has changed.
This method is used internally and should not be used in applications.
removeNotify
public void removeNotify()
- Description copied from class:
javax.swing.JComponent - Receives notification that this component no longer has a parent.
This method sends an AncestorEvent to all registered AncestorListeners,
notifying them that the parent is gone.
The keybord actions of this component are removed from the parent and
its ancestors.
A PropertyChangeEvent is fired to indicate that the 'ancestor' property
has changed.
This method is called before the component is actually removed from
its parent, so the parent is still visible through
Component.getParent()>
Component.getParent()55 .
handleMessage
public void handleMessage(org.gjt.sp.jedit.EBMessage msg)
- Description copied from interface:
org.gjt.sp.jedit.EBComponent - Handles a message sent on the EditBus.
This method must specify the type of responses the plugin will have
for various subclasses of the org.gjt.sp.jedit.EBMessage class. Typically
this is done with one or more
ifblocks that test whether the message is an instance of a derived message class in which the component has an interest. For example:if(msg instanceof BufferUpdate) { // a buffer's state has changed! } else if(msg instanceof ViewUpdate) { // a view's state has changed! } // ... and so on- Specified by:
handleMessagein interfaceorg.gjt.sp.jedit.EBComponent
init
public void init()
- Overrides:
initin classEnhancedMenu
updateMacrosMenu
private void updateMacrosMenu()
createMacrosMenu
private void createMacrosMenu(javax.swing.JMenu menu, java.util.Vector vector, int start)
|
|||||||||
| Home >> All >> org >> gjt >> sp >> jedit >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC