Package ucar.unidata.ui
Class WindowHolder
java.lang.Object
ucar.unidata.ui.WindowHolder
- All Implemented Interfaces:
ActionListener,EventListener
- Direct Known Subclasses:
ColorTableEditor,IdvManager
This is a base class that holds a dialog
- Author:
- IDV development team
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHandle the actionvoidclose()Close meprotected JComponent_more_protected JComponent_more__more_getFrame()_more__more_protected String_more_boolean_more_void_more_voidsetMenuBar(JMenuBar menuBar) voidsetWindowTitle(String title) Set the title of the window to the given titleprotected boolean_more_voidshow()Open mevoidshow(boolean modal) Open mevoid_more_voidtoFront()Bring the dialog to the frontprotected void_more_
-
Field Details
-
contents
_more_ -
dialog
_more_ -
frame
_more_ -
window
_more_
-
-
Constructor Details
-
WindowHolder
public WindowHolder()Construct this object
-
-
Method Details
-
setMenuBar
-
getWindow
_more_- Returns:
- _more_
-
shouldMakeDialog
protected boolean shouldMakeDialog()_more_- Returns:
- _more_
-
toFront
public void toFront()Bring the dialog to the front -
windowIsClosing
protected void windowIsClosing()_more_ -
getDialog
_more_- Returns:
- _more_
-
getFrame
_more_- Returns:
- _more_
-
isShowing
public boolean isShowing()_more_- Returns:
- _more_
-
removeAll
public void removeAll()_more_ -
show
public void show()Open me -
showModal
public void showModal()_more_ -
setWindowTitle
Set the title of the window to the given title- Parameters:
title- The window title
-
show
public void show(boolean modal) Open me- Parameters:
modal- _more_
-
close
public void close()Close me -
getWindowTitle
_more_- Returns:
- _more_
-
doMakeContents
_more_- Returns:
- _more_
-
getContents
_more_- Returns:
- _more_
-
actionPerformed
Handle the action- Specified by:
actionPerformedin interfaceActionListener- Parameters:
ae- The action
-