org.gui4j.core
Class Gui4jComponentInstance

java.lang.Object
org.gui4j.core.Gui4jComponentInstance
- public final class Gui4jComponentInstance
- extends java.lang.Object
Contains the combination of a Gui4jComponent and a Swing instance. Note that a Gui4jComponent
depends only on a given resource name and a given controller class. Additionally,
the same instance of a Gui4jComponent might be used for several Swing instances. On the
other side, there is always one instance of Gui4jComponentInstance for each Swing instance.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mComponent
private java.awt.Component mComponent
mGui4jComponentInPath
private Gui4jQualifiedComponent mGui4jComponentInPath
mGui4jSwingContainer
private Gui4jSwingContainer mGui4jSwingContainer
mStorage
private java.util.Map mStorage
mGui4j
private Gui4jInternal mGui4j
mGui4jCallBase
private org.gui4j.Gui4jCallBase mGui4jCallBase
mContext
private java.lang.Object mContext
CONTEXT_NOT_INIT
private static final java.lang.Object CONTEXT_NOT_INIT
Gui4jComponentInstance
public Gui4jComponentInstance(Gui4jSwingContainer gui4jSwingContainer,
java.awt.Component component,
Gui4jQualifiedComponent gui4jComponentInPath)
getGui4j
public Gui4jInternal getGui4j()
getContext
public java.lang.Object getContext()
getComponent
public java.awt.Component getComponent()
getSwingComponent
public javax.swing.JComponent getSwingComponent()
getGui4jComponent
public Gui4jComponent getGui4jComponent()
getGui4jComponentInPath
public Gui4jQualifiedComponent getGui4jComponentInPath()
getGui4jSwingContainer
public Gui4jSwingContainer getGui4jSwingContainer()
handleSuccess
public void handleSuccess()
handleException
public void handleException(java.lang.Throwable t)
getGui4jComponentInstance
public Gui4jComponentInstance getGui4jComponentInstance(Gui4jQualifiedComponent path)
- Convenience method.
getGui4jCallBase
public org.gui4j.Gui4jCallBase getGui4jCallBase()
getStorage
public java.lang.Object getStorage(java.lang.Object tag)
- Returns the storage.
setStorage
public void setStorage(java.lang.Object tag,
java.lang.Object storage)
- Sets the storage.
refreshComponent
public void refreshComponent()
dispose
public void dispose()
- Gibt Speicher frei