stella.jview
Class JStatusSave

java.lang.Object
  extended by util.PropertyContainer
      extended by util.PropertyResources
          extended by util.PropertyBundles
              extended by jview.AbstractDisplayable
                  extended by jview.JStatusField
                      extended by stella.jview.JStatusPanel
                          extended by 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.

JStatusPanel


Nested Class Summary
static class JStatusSave.Test
          Test purpose only.
 
Nested classes/interfaces inherited from class util.PropertyResources
PropertyResources.URLResource
 
Field Summary
private static String DEFSAVETEXT
          The default save text.
static String KEY_SAVEICON
          The key pointing to the icon of the save button.
static String KEY_SAVETEXT
          The key denoting the text of the save button.
private  JButton save
          The save button to dump the text to a file.
 
Fields inherited from class stella.jview.JStatusPanel
KEY_ACKCOLOR, KEY_COMMANDCOLOR, KEY_DONECOLOR, KEY_STATUSCOLOR
 
Fields inherited from class jview.JStatusField
KEY_DEBUGCOLOR, KEY_ERRORCOLOR, KEY_FATALCOLOR, KEY_INFOCOLOR, KEY_STATUSSIZE, KEY_WARNINGCOLOR
 
Fields inherited from class jview.AbstractDisplayable
KEY_COMPONENTNAME, KEY_ICON, KEY_INSETS
 
Fields inherited from class util.PropertyBundles
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES
 
Fields inherited from class util.PropertyResources
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset
 
Fields inherited from class util.PropertyContainer
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR
 
Fields inherited from interface util.ResourceSupplying
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME
 
Fields inherited from interface util.PropertySupplying
CONFIG, KEY_CLASS
 
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 stella.jview.JStatusPanel
acknowledge, command, done, status
 
Methods inherited from class jview.JStatusField
append, debug, error, error, fatal, getRepresentation, getStatus, getStatusDocument, info, setColor, warning
 
Methods inherited from class jview.AbstractDisplayable
getComponentName, getIcon, getIcon
 
Methods inherited from class util.PropertyBundles
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource
 
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 class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface util.ResourceSupplying
getResource, getResourceAsStream, getResources
 
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
 

Field Detail

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.

Constructor Detail

JStatusSave

public JStatusSave(Map prop)
Creates a Status Panel without any additional buttons.

Method Detail

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