stella.jview
Class JStatusSave
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
jview.AbstractDisplayable
jview.JStatusField
stella.jview.JStatusPanel
stella.jview.JStatusSave
- All Implemented Interfaces:
- Cloneable, Displayable, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying
- Direct Known Subclasses:
- JStatusExit
public class JStatusSave
- extends JStatusPanel
This Class provides the status field, augmented with a save button to
log the messages.

|
Constructor Summary |
JStatusSave(Map prop)
Creates a Status Panel without any additional buttons. |
|
Method Summary |
void |
init()
Creates a Status Panel and construct the save button. |
protected JPanel |
prepareRepresentation()
Delivers a layed-out jcomponent of the status panel. |
| Methods inherited from class jview.JStatusField |
append, debug, error, error, fatal, getRepresentation, getStatus, getStatusDocument, info, setColor, warning |
| Methods inherited from class util.PropertyResources |
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from interface util.PropertySupplying |
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
KEY_SAVETEXT
public static final String KEY_SAVETEXT
- The key denoting the text of the save button.
- See Also:
- Constant Field Values
KEY_SAVEICON
public static final String KEY_SAVEICON
- The key pointing to the icon of the save button.
- See Also:
- Constant Field Values
DEFSAVETEXT
private static final String DEFSAVETEXT
- The default save text.
- See Also:
- Constant Field Values
save
private JButton save
- The save button to dump the text to a file.
JStatusSave
public JStatusSave(Map prop)
- Creates a Status Panel without any additional buttons.
init
public void init()
- Creates a Status Panel and construct the save button.
- Specified by:
init in interface Initializable- Overrides:
init in class JStatusPanel
prepareRepresentation
protected JPanel prepareRepresentation()
- Delivers a layed-out jcomponent of the status panel.
- Overrides:
prepareRepresentation in class JStatusField