Class BSHUI
java.lang.Object
org.jpos.ui.UI
org.jpos.bsh.BSHUI
- All Implemented Interfaces:
UIFactory, UIObjectFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JComponentdoScript(JComponent component, org.jdom2.Element e) Applies any script element to the component; default implementation is a no-op.Methods inherited from class UI
configure, configure, create, create, dispose, get, getLog, getMainFrame, getRegistrar, isDestroyed, newInstance, reconfigure, setConfig, setLog, setLookAndFeel, setObjectFactory, warn, warnModifier and TypeMethodDescriptionvoidConfigures this UI from the stored XML element.protected voidconfigure(org.jdom2.Element ui) Configures the UI from the given XML element.create(org.jdom2.Element e) Creates a Swing component from the given XML element descriptor.UI is itself a UIFactory.voiddispose()dispose this UI objectReturns the component registered under the given id.getLog()Returns the Log instance, or null if none was set.Returns the application's main frame.UI uses a map to hold references to its components ("id" attribute)booleanReturns true if this UI object has been disposed.newInstance(String clazz) Instantiates an object by class name using the current thread's context class loader.voidreconfigure(String elementName, String panelName) reconfigure can be used in order to re-configure components inside a container (i.e.voidsetConfig(org.jdom2.Element config) Sets the XML configuration element for this UI.voidSets the optional Log instance used for diagnostic output.protected voidsetLookAndFeel(org.jdom2.Element ui) Applies the look-and-feel specified in the UI configuration element.voidsetObjectFactory(UIObjectFactory objFactory) Assigns an object factory use to create new object instances.protected voidLogs a warning.protected voidLogs a warning with an associated exception.
-
Constructor Details
-
BSHUI
public BSHUI()Default constructor; no instance state to initialise.
-
-
Method Details