|
|||||||||
| Home >> All >> org >> merlotxml >> [ merlot overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.merlotxml.merlot
Class XMLEditorFrame

java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.merlotxml.merlot.XMLEditorFrame
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.datatransfer.ClipboardOwner, java.util.EventListener, java.awt.image.ImageObserver, javax.swing.event.InternalFrameListener, java.awt.MenuContainer, MerlotConstants, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
- Direct Known Subclasses:
- GD_XMLEditorFrame
- public class XMLEditorFrame
- extends javax.swing.JFrame
- implements java.awt.datatransfer.ClipboardOwner, MerlotConstants, javax.swing.event.InternalFrameListener
- extends javax.swing.JFrame
The main frame for the application. This sets up the menus and toolbars. This also manages the internal frames via the JDesktopPane. It is a singleton instance class similar to XMLEditor. You get the singleton instance with the getSharedInstance() method.
Methods of interest in this class are the addInternalFrame() methods for displaying a JInternalFrame within this main frame. This class also includes some of the main operation methods which are called by their cooresponding Action in XMLEditorActions. These include quit(), newFile(), openFile(), revert(), save(), saveAs(), cut(), copy(), paste() and undo(). Library handling methods are also located here.
The XMLEditorFrame is an InternalFrameListener which helps it manage the Windows menu, and handles saving open files before quitting, saving a file when it's close box is clicked, managing the undo stack based on which document is active, and activating/deactivating available menu items based on which docuement is active.
- Version:
- $Id: XMLEditorFrame.java,v 1.7 2002/04/29 12:28:07 flament Exp $
| Nested Class Summary | |
protected class |
XMLEditorFrame.WindowHideShowListener
ActionListener for when a window is hidden or shown using the window menu item for it. |
| Nested classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
| Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| 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 | |
protected XMLEditorActions |
_actions
the actions toplevel object |
protected javax.swing.JPanel |
_background
The background of this frame |
protected java.awt.datatransfer.Clipboard |
_clipboard
the clipboard for this application. |
protected java.lang.String |
_current_dir
Directory to go to when opening a file. |
protected javax.swing.JDesktopPane |
_desktop
|
protected java.util.Vector |
_documents
The list of open documents (XMLEditorDoc objects) |
protected DTDChooser |
_dtdChooser
A DTD chooser instance which can be reused throughout the application |
protected javax.swing.JMenu |
_editMenu
|
protected XMLEditor |
_editor
The editor that created this class instance |
protected javax.swing.JMenu |
_fileMenu
|
protected java.util.Hashtable |
_fileToFrameMap
Hashtable mapping Files to JInternalFrames. |
static XMLEditorFrame |
_frame
the singleton instance of this class |
protected java.util.Hashtable |
_frameToDocumentMap
mapping of JInternalFrame to a XMLEditorDoc which handles cut/copy/paste and other events that can show up at the top level, but need to be passed on to the right window |
protected javax.swing.JMenu |
_helpMenu
|
protected java.util.Vector |
_internalFrames
The list of internal frames that are being managed by this toplevel Frame. |
protected java.lang.String |
_lib_dir
Directory where the last library file was opened from. |
protected java.util.Vector |
_libraries
The list of library objects which are open. |
protected javax.swing.JMenuBar |
_menuBar
The main menu bar for the application |
protected javax.swing.JMenu |
_nodeMenu
|
protected javax.swing.JMenu |
_pluginMenu
|
protected int |
_stagger_x
current values of staggering |
protected int |
_stagger_x_start
Where to start the stagger |
protected int |
_stagger_y
current values of staggering |
protected int |
_stagger_y_start
Where to start the stagger |
protected java.awt.datatransfer.Clipboard |
_treeClipboard
Special clipboard for the tree nodes. |
protected javax.swing.JMenu |
_windowMenu
|
protected static int |
MAX_STAGGER_X
maximum amount of total horizontal staggering before cycling back to the start |
protected static int |
MAX_STAGGER_Y
maximum amount of total vertical staggering before cycling back to the start |
protected static int |
OFF_X
|
protected static int |
OFF_Y
|
protected static int |
STAGGER_OFFSET
amount to offset staggers when recycling |
protected static int |
STAGGER_X
Amount to stagger new windows horizontally |
protected static int |
STAGGER_Y
Amount to stagger new windows vertically |
| Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.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 org.merlotxml.merlot.MerlotConstants |
ACTION_MENU_ACCELERATOR, ACTION_MENU_ICON, ACTION_NAME, ACTION_SHORT_DESCRIPTION, ACTION_SMALL_ICON, AFTER, BEFORE, ERR, INTO, UI, XML |
| Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
XMLEditorFrame(XMLEditor master,
java.lang.String title)
Constructor which takes the XMLEditor and the title for the Frame. |
|
| Method Summary | |
protected void |
activateDocumentAfterClose()
Sets the most recent document active - needed after a document is closed to activate menu items |
javax.swing.JInternalFrame |
add(XMLEditorDoc d)
add a XMLEditorDoc to the frame. |
void |
addInternalFrame(javax.swing.JInternalFrame f)
Adds an internal frame in a staggered manner |
void |
addInternalFrame(javax.swing.JInternalFrame f,
boolean stagger)
Adds an internal frame to the desktop. |
protected boolean |
checkQuit()
prepares the application to quit, asking the user if they want to save each of the open files. |
void |
close()
This closes the foreground XMLEditorDoc document |
void |
copy(java.awt.event.ActionEvent evt)
Delegates to copy method in the current foreground XMLEditorDoc |
void |
cut(java.awt.event.ActionEvent evt)
Delegates to cut method in the current foreground XMLEditorDoc |
protected void |
docActivated(XMLEditorDoc doc)
Called when an XMLEditorDoc is activated. |
protected void |
docDeactivated(XMLEditorDoc doc)
Called when an XMLEditorDoc is deactivated. |
protected void |
frameResized(java.awt.event.ComponentEvent evt)
The frame got resized... |
java.awt.datatransfer.Clipboard |
getClipboard()
returnts the text clipboard |
java.lang.String |
getCurrentDir()
Retrieve the current user working directory. |
XMLEditorDoc |
getCurrentDocument()
returns the current foreground document or null if none are selected |
javax.swing.JDesktopPane |
getDesktopPane()
returns the JDesktopPane which this Frame uses |
java.io.File |
getFileToOpen(MerlotFileFilter filter,
java.lang.String selectedFileName)
Present a file chooser dialog for the user to select a file. |
java.lang.String |
getNewRootElementName(org.merlotxml.util.xml.DTDCacheEntry dtdEntry)
Get the root element name from the user for a new file |
static XMLEditorFrame |
getSharedInstance()
Returns the singleton instance. |
java.awt.datatransfer.Clipboard |
getTreeClipboard()
returns the DOMTree clipboard |
protected javax.swing.JFileChooser |
getXMLFileChooser(java.lang.String dir,
javax.swing.filechooser.FileFilter filter)
Creates a Swing JFileChooser with the given filter and starting the directory given |
protected java.awt.FileDialog |
getXMLFileDialog(java.lang.String dir,
java.io.FilenameFilter filter)
Creates an AWT native-peered file dialog. |
void |
internalFrameActivated(javax.swing.event.InternalFrameEvent e)
Implementation of InternalFrameListener. |
void |
internalFrameClosed(javax.swing.event.InternalFrameEvent e)
Called when an internal frame has been closed. |
void |
internalFrameClosing(javax.swing.event.InternalFrameEvent e)
Called when a frame is about to close. |
void |
internalFrameDeactivated(javax.swing.event.InternalFrameEvent e)
A frame has been deactivated. |
void |
internalFrameDeiconified(javax.swing.event.InternalFrameEvent e)
Internal frame deiconified |
void |
internalFrameIconified(javax.swing.event.InternalFrameEvent e)
Internal frame iconified |
void |
internalFrameOpened(javax.swing.event.InternalFrameEvent e)
Internal frame opened |
void |
lostOwnership(java.awt.datatransfer.Clipboard c,
java.awt.datatransfer.Transferable t)
Notification that we lost ownership of a clipboard item |
void |
newFile()
Create a new file. |
void |
newLibrary()
Create a new library file |
void |
openFile()
Allow the user to select a file to open, and then check to see if it's already open or not. |
void |
openLibrary()
Open a library by giving the user a file chooser and then opening the selected library file if there is one |
void |
openLibrary(java.io.File libfile)
Open the specified library file and show the fram |
void |
openLibrary(java.io.File libfile,
boolean show)
Open a library file. |
void |
paste(java.awt.event.ActionEvent evt)
Delegates to paste method in the current foreground XMLEditorDoc |
void |
quit()
Checks if the application can be shutdown. |
private void |
renameWindowItem(java.lang.String oldName,
XMLEditorDoc doc)
Convenience helper to rename a JInternalFrame and update its Window menu item as well. |
protected void |
resetUndoAction(javax.swing.undo.UndoManager mgr)
Updates the undo action with information about what it is going to undo using the mgr getUndoPresentationName() call. |
void |
revert()
Revert a document to its previously saved version |
void |
save()
Save the current foreground document |
void |
saveAs()
Save the current foreground document with a different filename |
protected void |
setupDesktop()
Sets up the desktop for the application. |
protected javax.swing.JMenu |
setupEditMenu()
Creates the edit menu from actions in XMLEditorActions |
protected javax.swing.JMenu |
setupFileMenu()
Sets up the file menu from the actions in XMLEditorActions |
protected void |
setupFrame()
Sets up the desktop and menus. |
protected javax.swing.JMenu |
setupHelpMenu()
Sets up the Help menu which contains the about item and plugin about menu |
protected void |
setupMenus()
Sets up all the toplevel menus for the application. |
protected javax.swing.JMenu |
setupNodeMenu()
Creates the Node menu which is maintained by individual documents |
protected javax.swing.JMenu |
setupPluginAboutMenu()
Creates the About menu for plugins, getting the action from the PluginConfigs in PluginManager |
protected javax.swing.JMenu |
setupPluginMenu()
Creates the plugin menu from actions in XMLEditorActions |
protected javax.swing.JToolBar |
setupToolBar()
This creates the toolbar for the application and adds the actions to it |
protected javax.swing.JMenu |
setupWindowMenu()
Creates the windows menu from actions in XMLEditorActions |
private void |
setWindowMenuState()
Turns off window menu actions which handle arrangement of multiple windows on the desctop if there are less than 2 internal frames active |
void |
undo(java.awt.event.ActionEvent evt)
Delegates to undo method in the current foreground XMLEditorDoc |
| Methods inherited from class java.awt.Frame |
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Field Detail |
_frame
public static XMLEditorFrame _frame
- the singleton instance of this class
_actions
protected XMLEditorActions _actions
- the actions toplevel object
_internalFrames
protected java.util.Vector _internalFrames
- The list of internal frames that are being managed by this toplevel Frame.
Objects are of type JInternalFrame.
_libraries
protected java.util.Vector _libraries
- The list of library objects which are open. Objects are of type MerlotLibrary
_fileToFrameMap
protected java.util.Hashtable _fileToFrameMap
- Hashtable mapping Files to JInternalFrames. This allows us to bring a frame to the front if someone
tries to open a file that is already open, instead of giving a new XMLDoc for it
_menuBar
protected javax.swing.JMenuBar _menuBar
- The main menu bar for the application
_fileMenu
protected javax.swing.JMenu _fileMenu
_editMenu
protected javax.swing.JMenu _editMenu
_nodeMenu
protected javax.swing.JMenu _nodeMenu
_windowMenu
protected javax.swing.JMenu _windowMenu
_pluginMenu
protected javax.swing.JMenu _pluginMenu
_helpMenu
protected javax.swing.JMenu _helpMenu
_documents
protected java.util.Vector _documents
- The list of open documents (XMLEditorDoc objects)
_desktop
protected javax.swing.JDesktopPane _desktop
_editor
protected XMLEditor _editor
- The editor that created this class instance
_background
protected javax.swing.JPanel _background
- The background of this frame
_dtdChooser
protected DTDChooser _dtdChooser
- A DTD chooser instance which can be reused throughout the application
_clipboard
protected java.awt.datatransfer.Clipboard _clipboard
- the clipboard for this application. This one holds just about anything
except tree nodes. It mainly holds text.
_treeClipboard
protected java.awt.datatransfer.Clipboard _treeClipboard
- Special clipboard for the tree nodes. We keep this separate because a paste in the tree
is different from a paste in a text box.
_current_dir
protected java.lang.String _current_dir
- Directory to go to when opening a file. This is set to the last directory that the user opened
a file from.
_lib_dir
protected java.lang.String _lib_dir
- Directory where the last library file was opened from. Open Library will go here first.
STAGGER_X
protected static final int STAGGER_X
- Amount to stagger new windows horizontally
- See Also:
- Constant Field Values
STAGGER_Y
protected static final int STAGGER_Y
- Amount to stagger new windows vertically
- See Also:
- Constant Field Values
MAX_STAGGER_X
protected static final int MAX_STAGGER_X
- maximum amount of total horizontal staggering before cycling back to the start
- See Also:
- Constant Field Values
MAX_STAGGER_Y
protected static final int MAX_STAGGER_Y
- maximum amount of total vertical staggering before cycling back to the start
- See Also:
- Constant Field Values
STAGGER_OFFSET
protected static final int STAGGER_OFFSET
- amount to offset staggers when recycling
- See Also:
- Constant Field Values
_stagger_x
protected int _stagger_x
- current values of staggering
_stagger_y
protected int _stagger_y
- current values of staggering
_stagger_x_start
protected int _stagger_x_start
- Where to start the stagger
_stagger_y_start
protected int _stagger_y_start
- Where to start the stagger
_frameToDocumentMap
protected java.util.Hashtable _frameToDocumentMap
- mapping of JInternalFrame to a XMLEditorDoc
which handles cut/copy/paste and other events that can
show up at the top level, but need to be passed on to the right
window
OFF_X
protected static final int OFF_X
- See Also:
- Constant Field Values
OFF_Y
protected static final int OFF_Y
- See Also:
- Constant Field Values
| Constructor Detail |
XMLEditorFrame
public XMLEditorFrame(XMLEditor master, java.lang.String title)
- Constructor which takes the XMLEditor and the title for the Frame. This sets up the
clipboards, the frame and document maps, and the actions. Then it shows the main
splash screen, and sets up the frame, its menus, and its background.
| Method Detail |
getSharedInstance
public static XMLEditorFrame getSharedInstance()
- Returns the singleton instance. Does not create a new instance if one doesn't exist.
add
public javax.swing.JInternalFrame add(XMLEditorDoc d)
- add a XMLEditorDoc to the frame. This gets the internalframe from the Doc and adds it to
the maps and the desktop.
addInternalFrame
public void addInternalFrame(javax.swing.JInternalFrame f)
- Adds an internal frame in a staggered manner
addInternalFrame
public void addInternalFrame(javax.swing.JInternalFrame f, boolean stagger)
- Adds an internal frame to the desktop. This decides on the placement of the
window bassed on the stagger parameter. If this is false, the InternalFrame is
placed wherever its location is set. This also places it in the window menu list
of windows.
setupFrame
protected void setupFrame()
- Sets up the desktop and menus. Sets the look and feel, and sets up the application icon
setupMenus
protected void setupMenus()
- Sets up all the toplevel menus for the application. Menu resources are retrieved from
ResourceBundles via MerlotResource.
setupFileMenu
protected javax.swing.JMenu setupFileMenu()
- Sets up the file menu from the actions in XMLEditorActions
setupEditMenu
protected javax.swing.JMenu setupEditMenu()
- Creates the edit menu from actions in XMLEditorActions
setupNodeMenu
protected javax.swing.JMenu setupNodeMenu()
- Creates the Node menu which is maintained by individual documents
setupWindowMenu
protected javax.swing.JMenu setupWindowMenu()
- Creates the windows menu from actions in XMLEditorActions
setupPluginMenu
protected javax.swing.JMenu setupPluginMenu()
- Creates the plugin menu from actions in XMLEditorActions
setupPluginAboutMenu
protected javax.swing.JMenu setupPluginAboutMenu()
- Creates the About menu for plugins, getting the action from the PluginConfigs in PluginManager
setupHelpMenu
protected javax.swing.JMenu setupHelpMenu()
- Sets up the Help menu which contains the about item and plugin about menu
setupToolBar
protected javax.swing.JToolBar setupToolBar()
- This creates the toolbar for the application and adds the actions to it
setupDesktop
protected void setupDesktop()
- Sets up the desktop for the application. This includes the JDesktopPane and the background
frameResized
protected void frameResized(java.awt.event.ComponentEvent evt)
- The frame got resized... check to make sure all the windows are still in the
frame, and reset the background
quit
public void quit()
- Checks if the application can be shutdown. If it can, it calls System.exit()
checkQuit
protected boolean checkQuit()
- prepares the application to quit, asking the user if they want to save each of the open files.
If the user selects "cancel" on any of the open file save questions, this returns false.
newFile
public void newFile()
- Create a new file. Show the DTDChooser, create a file which uses the DTD, and
then create an XMLEditorDoc for that new file
getNewRootElementName
public java.lang.String getNewRootElementName(org.merlotxml.util.xml.DTDCacheEntry dtdEntry)
- Get the root element name from the user for a new file
openFile
public void openFile()
- Allow the user to select a file to open, and then check to see if it's already open or not.
If its not open, open it and create the XMLEditorDoc for it.
getFileToOpen
public java.io.File getFileToOpen(MerlotFileFilter filter, java.lang.String selectedFileName)
- Present a file chooser dialog for the user to select a file.
getXMLFileChooser
protected javax.swing.JFileChooser getXMLFileChooser(java.lang.String dir, javax.swing.filechooser.FileFilter filter)
- Creates a Swing JFileChooser with the given filter and starting the directory given
getXMLFileDialog
protected java.awt.FileDialog getXMLFileDialog(java.lang.String dir, java.io.FilenameFilter filter)
- Creates an AWT native-peered file dialog. This is usefull on windows for accessing
network shares and such.
close
public void close()
- This closes the foreground XMLEditorDoc document
revert
public void revert()
- Revert a document to its previously saved version
activateDocumentAfterClose
protected void activateDocumentAfterClose()
- Sets the most recent document active - needed after a document
is closed to activate menu items
renameWindowItem
private void renameWindowItem(java.lang.String oldName, XMLEditorDoc doc)
- Convenience helper to rename a JInternalFrame and update its Window menu item as well.
save
public void save()
- Save the current foreground document
saveAs
public void saveAs()
- Save the current foreground document with a different filename
getCurrentDir
public java.lang.String getCurrentDir()
- Retrieve the current user working directory. This could be the directory
the previous file was located in or if that is null, it would be the user.dir
from the System properties
cut
public void cut(java.awt.event.ActionEvent evt)
- Delegates to cut method in the current foreground XMLEditorDoc
copy
public void copy(java.awt.event.ActionEvent evt)
- Delegates to copy method in the current foreground XMLEditorDoc
paste
public void paste(java.awt.event.ActionEvent evt)
- Delegates to paste method in the current foreground XMLEditorDoc
undo
public void undo(java.awt.event.ActionEvent evt)
- Delegates to undo method in the current foreground XMLEditorDoc
resetUndoAction
protected void resetUndoAction(javax.swing.undo.UndoManager mgr)
- Updates the undo action with information about what it is going to undo
using the mgr getUndoPresentationName() call.
getClipboard
public java.awt.datatransfer.Clipboard getClipboard()
- returnts the text clipboard
getTreeClipboard
public java.awt.datatransfer.Clipboard getTreeClipboard()
- returns the DOMTree clipboard
lostOwnership
public void lostOwnership(java.awt.datatransfer.Clipboard c, java.awt.datatransfer.Transferable t)
- Notification that we lost ownership of a clipboard item
- Specified by:
lostOwnershipin interfacejava.awt.datatransfer.ClipboardOwner
getDesktopPane
public javax.swing.JDesktopPane getDesktopPane()
- returns the JDesktopPane which this Frame uses
getCurrentDocument
public XMLEditorDoc getCurrentDocument()
- returns the current foreground document or null if none are selected
openLibrary
public void openLibrary(java.io.File libfile, boolean show)
- Open a library file.
openLibrary
public void openLibrary(java.io.File libfile)
- Open the specified library file and show the fram
openLibrary
public void openLibrary()
- Open a library by giving the user a file chooser and then opening the selected
library file if there is one
newLibrary
public void newLibrary()
- Create a new library file
docActivated
protected void docActivated(XMLEditorDoc doc)
- Called when an XMLEditorDoc is activated. Changes action enabled state
for actions that can change depending on which document is in the foreground
docDeactivated
protected void docDeactivated(XMLEditorDoc doc)
- Called when an XMLEditorDoc is deactivated. Changes action enabled state
for actions that can change depending on which document is in the foreground
internalFrameActivated
public void internalFrameActivated(javax.swing.event.InternalFrameEvent e)
- Implementation of InternalFrameListener. Calls into docActivated to turn on menu items
- Specified by:
internalFrameActivatedin interfacejavax.swing.event.InternalFrameListener
setWindowMenuState
private void setWindowMenuState()
- Turns off window menu actions which handle arrangement of
multiple windows on the desctop if there are less than 2
internal frames active
internalFrameClosed
public void internalFrameClosed(javax.swing.event.InternalFrameEvent e)
- Called when an internal frame has been closed. This cleans
up items in the document maps and the window menu item
- Specified by:
internalFrameClosedin interfacejavax.swing.event.InternalFrameListener
internalFrameClosing
public void internalFrameClosing(javax.swing.event.InternalFrameEvent e)
- Called when a frame is about to close. We don't do anything here.
Saves of dirty documents are handled in the close action itself
- Specified by:
internalFrameClosingin interfacejavax.swing.event.InternalFrameListener
internalFrameDeactivated
public void internalFrameDeactivated(javax.swing.event.InternalFrameEvent e)
- A frame has been deactivated. This called the docDeactivated method
to change enabled state of affected menu items
- Specified by:
internalFrameDeactivatedin interfacejavax.swing.event.InternalFrameListener
internalFrameDeiconified
public void internalFrameDeiconified(javax.swing.event.InternalFrameEvent e)
- Description copied from interface:
javax.swing.event.InternalFrameListener - Internal frame deiconified
- Specified by:
internalFrameDeiconifiedin interfacejavax.swing.event.InternalFrameListener
internalFrameIconified
public void internalFrameIconified(javax.swing.event.InternalFrameEvent e)
- Description copied from interface:
javax.swing.event.InternalFrameListener - Internal frame iconified
- Specified by:
internalFrameIconifiedin interfacejavax.swing.event.InternalFrameListener
internalFrameOpened
public void internalFrameOpened(javax.swing.event.InternalFrameEvent e)
- Description copied from interface:
javax.swing.event.InternalFrameListener - Internal frame opened
- Specified by:
internalFrameOpenedin interfacejavax.swing.event.InternalFrameListener
|
|||||||||
| Home >> All >> org >> merlotxml >> [ merlot overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC