|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.ui.WindowHolder
public abstract class WindowHolder
This is a base class that holds a dialog
| Field Summary | |
|---|---|
protected JComponent |
contents
_more_ |
protected JDialog |
dialog
_more_ |
protected JFrame |
frame
_more_ |
protected Window |
window
_more_ |
| Constructor Summary | |
|---|---|
WindowHolder()
Construct this object |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent ae)
Handle the action |
void |
close()
Close me |
protected JComponent |
doMakeContents()
_more_ |
protected JComponent |
getContents()
_more_ |
JDialog |
getDialog()
_more_ |
JFrame |
getFrame()
_more_ |
Window |
getWindow()
_more_ |
protected String |
getWindowTitle()
_more_ |
boolean |
isShowing()
_more_ |
void |
removeAll()
_more_ |
void |
setWindowTitle(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_ |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JComponent contents
protected JDialog dialog
protected JFrame frame
protected Window window
| Constructor Detail |
|---|
public WindowHolder()
| Method Detail |
|---|
public Window getWindow()
protected boolean shouldMakeDialog()
public void toFront()
protected void windowIsClosing()
public JDialog getDialog()
public JFrame getFrame()
public boolean isShowing()
public void removeAll()
public void show()
public void showModal()
public void setWindowTitle(String title)
title - The window titlepublic void show(boolean modal)
modal - _more_public void close()
protected String getWindowTitle()
protected JComponent doMakeContents()
protected JComponent getContents()
public void actionPerformed(ActionEvent ae)
actionPerformed in interface ActionListenerae - The action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||