oracle.jdevimpl.uieditor
Class UIExplorer
java.lang.Object
oracle.ide.addin.AbstractView
oracle.ide.explorer.AbstractExplorer
oracle.jdevimpl.uieditor.AbstractCanvas
oracle.jdevimpl.uieditor.UIExplorer
- All Implemented Interfaces:
- java.awt.event.ActionListener, ContextMenuListener, java.util.EventListener, Explorer, java.awt.event.FocusListener, Helpable, java.awt.event.KeyListener, java.awt.event.MouseListener, Observer, Subview, javax.swing.event.TreeSelectionListener, UIEditorCanvas, View, ViewSelectionListener
- public final class UIExplorer
- extends AbstractCanvas
- implements javax.swing.event.TreeSelectionListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.ActionListener, java.awt.event.FocusListener, Observer
Methods inherited from class oracle.jdevimpl.uieditor.AbstractCanvas |
close, getContext, getContext, getController, getDefaultFocusComponent, getModel, getPrecedingContextItem, getSelection, getUIEditor, poppingDown, setModel, setOwner |
Methods inherited from class oracle.ide.addin.AbstractView |
activate, addViewListener, addViewSelectionListener, deactivate, fireViewActivated, fireViewClosed, fireViewDeactivated, fireViewSelectionChanged, getHelpInfo, getId, getToolbar, isVisible, loadToolbar, loadToolbar, newId, owner, removeViewListener, removeViewSelectionListener, setId, show, updateTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIExplorer
public UIExplorer()
setContext
public void setContext(Context context)
- Description copied from interface:
Explorer
- (Re)initialize the contents of the gui.
- Specified by:
setContext
in interface Explorer
- Overrides:
setContext
in class AbstractCanvas
getGUI
public java.awt.Component getGUI()
- Description copied from interface:
Subview
- Gets the view's root graphical user interface component
- Specified by:
getGUI
in interface Subview
- Returns:
- the view's root graphical user interface component
viewSelectionChanged
public void viewSelectionChanged(ViewSelectionEvent e)
- Description copied from interface:
ViewSelectionListener
- This method is called every time the selection changes in a view.
The
ViewSelectionEvent
object has detailed information
of the objects selected in the view.
- Specified by:
viewSelectionChanged
in interface ViewSelectionListener
- Overrides:
viewSelectionChanged
in class AbstractCanvas
stateChanged
public void stateChanged(int state)
- Description copied from interface:
Explorer
- Respond to a change of state between SHOWN, HIDDEN or CLOSED.
- Specified by:
stateChanged
in interface Explorer
- Overrides:
stateChanged
in class AbstractCanvas
update
public void update(java.lang.Object observed,
UpdateMessage message)
- Description copied from interface:
Observer
- Notification message. Subjects call this method when they notify their
observers that the subjects state has changed.
- Specified by:
update
in interface Observer
- Parameters:
observed
- the subject whose state has changed.message
- what has changed.
poppingUp
public void poppingUp(ContextMenu ctxMenu)
- Description copied from interface:
ContextMenuListener
- Called just before the context menu is popping up.
- Specified by:
poppingUp
in interface ContextMenuListener
- Overrides:
poppingUp
in class AbstractCanvas
handleDefaultAction
public boolean handleDefaultAction(Context ctx)
- Description copied from interface:
ContextMenuListener
- Called when the user double clicks on an item that has a popup menu.
Only one listener should return true from this menu.
- Specified by:
handleDefaultAction
in interface ContextMenuListener
- Overrides:
handleDefaultAction
in class AbstractCanvas
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
- Specified by:
valueChanged
in interface javax.swing.event.TreeSelectionListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interface java.awt.event.MouseListener
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interface java.awt.event.MouseListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interface java.awt.event.MouseListener
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered
in interface java.awt.event.MouseListener
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interface java.awt.event.MouseListener
tryPopup
public void tryPopup(java.awt.event.MouseEvent e)
fireDefaultAction
protected void fireDefaultAction(java.awt.event.InputEvent e)
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed
in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
- Specified by:
keyTyped
in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased
in interface java.awt.event.KeyListener
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Specified by:
focusGained
in interface java.awt.event.FocusListener
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Specified by:
focusLost
in interface java.awt.event.FocusListener
Copyright ©1997, 2003, Oracle. All rights reserved.