public abstract class WindowHolder
extends java.lang.Object
implements java.awt.event.ActionListener
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JComponent |
contents
_more_
|
protected javax.swing.JDialog |
dialog
_more_
|
protected javax.swing.JFrame |
frame
_more_
|
protected java.awt.Window |
window
_more_
|
Constructor and Description |
---|
WindowHolder()
Construct this object
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Handle the action
|
void |
close()
Close me
|
protected javax.swing.JComponent |
doMakeContents()
_more_
|
protected javax.swing.JComponent |
getContents()
_more_
|
javax.swing.JDialog |
getDialog()
_more_
|
javax.swing.JFrame |
getFrame()
_more_
|
java.awt.Window |
getWindow()
_more_
|
protected java.lang.String |
getWindowTitle()
_more_
|
boolean |
isShowing()
_more_
|
void |
removeAll()
_more_
|
void |
setMenuBar(javax.swing.JMenuBar menuBar) |
void |
setWindowTitle(java.lang.String title)
Set the title of the window to the given title
|
protected boolean |
shouldMakeDialog()
_more_
|
void |
show()
Open me
|
void |
show(boolean modal)
Open me
|
void |
showModal()
_more_
|
void |
toFront()
Bring the dialog to the front
|
protected void |
windowIsClosing()
_more_
|
protected javax.swing.JComponent contents
protected javax.swing.JDialog dialog
protected javax.swing.JFrame frame
protected java.awt.Window window
public void setMenuBar(javax.swing.JMenuBar menuBar)
public java.awt.Window getWindow()
protected boolean shouldMakeDialog()
public void toFront()
protected void windowIsClosing()
public javax.swing.JDialog getDialog()
public javax.swing.JFrame getFrame()
public boolean isShowing()
public void removeAll()
public void show()
public void showModal()
public void setWindowTitle(java.lang.String title)
title
- The window titlepublic void show(boolean modal)
modal
- _more_public void close()
protected java.lang.String getWindowTitle()
protected javax.swing.JComponent doMakeContents()
protected javax.swing.JComponent getContents()
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
ae
- The action