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 TypeMethodDescriptionvoid
Handle the actionvoid
close()
Close meprotected JComponent
_more_protected JComponent
_more__more_getFrame()
_more__more_protected String
_more_boolean
_more_void
_more_void
setMenuBar
(JMenuBar menuBar) void
setWindowTitle
(String title) Set the title of the window to the given titleprotected boolean
_more_void
show()
Open mevoid
show
(boolean modal) Open mevoid
_more_void
toFront()
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:
actionPerformed
in interfaceActionListener
- Parameters:
ae
- The action
-