stella.jview
Class JElementHelper
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.xml.ElementHelper
stella.jview.JElementHelper
- All Implemented Interfaces:
- Cloneable, JUserAdjustable, UserAdjustable, UserDetails, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying
public class JElementHelper
- extends ElementHelper
- implements JUserAdjustable
A simple extension to a normal element helper. Here, the messages are piped
to a JStatusPanel instead to Syslog
|
Constructor Summary |
JElementHelper(Map prop)
Constructs a new element helper that pipes messages to a status
panel. |
| Methods inherited from class stella.xml.ElementHelper |
createElementHelper, createElementHelpers, createElementHelpers, createHelperMap, createHelperMap, debug, erase, fatal, fromResourceName, fromResourceName, getDefined, getDetails, getID, getMissing, getRequired, getSettable, getType, getValue, getVariables, init, isValid, setValue, toLongString, toString, update |
| 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 |
| Methods inherited from interface stella.xml.UserAdjustable |
getDefined, getID, getMissing, getRequired, getSettable, getType, getValue, getVariables, isValid, setValue, update |
| 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_TOOLTIP
public static final String KEY_TOOLTIP
- The key to the tooltip mapping of constant names to tip.
- See Also:
- Constant Field Values
KEY_ORDER
public static final String KEY_ORDER
- The key to the tooltip mapping of constant names to tip.
- See Also:
- Constant Field Values
status
private static JStatusField status
- The reference to the status field. All helpers have a single panel.
JElementHelper
public JElementHelper(Map prop)
- Constructs a new element helper that pipes messages to a status
panel. Only usable after the status panel has been assigned with
setJStatusField(jview.JStatusField).
getToolTips
public Map getToolTips()
- Returns the tool-tip map.
- Specified by:
getToolTips in interface JUserAdjustable
getOrder
public List getOrder()
- Returns the order of the elements.
- Specified by:
getOrder in interface JUserAdjustable
setJStatusField
public static void setJStatusField(JStatusField message)
- Assigns the status panel.
error
protected void error(String warn)
- Issues an error message. This class pipes directly to
Syslog.error.
- Overrides:
error in class ElementHelper
warn
protected void warn(String warn)
- Issues a warning message. This class pipes directly to
Syslog.warning.
- Overrides:
warn in class ElementHelper
info
protected void info(String warn)
- Issues an info message. This class pipes directly to
Syslog.info.
- Overrides:
info in class ElementHelper