Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gui4j.core
Class Gui4jComponentInstance  view Gui4jComponentInstance download Gui4jComponentInstance.java

java.lang.Object
  extended byorg.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.


Field Summary
private static java.lang.Object CONTEXT_NOT_INIT
           
private  java.awt.Component mComponent
           
private  java.lang.Object mContext
           
private  Gui4jInternal mGui4j
           
private  org.gui4j.Gui4jCallBase mGui4jCallBase
           
private  Gui4jQualifiedComponent mGui4jComponentInPath
           
private  Gui4jSwingContainer mGui4jSwingContainer
           
private  java.util.Map mStorage
           
 
Constructor Summary
Gui4jComponentInstance(Gui4jSwingContainer gui4jSwingContainer, java.awt.Component component, Gui4jQualifiedComponent gui4jComponentInPath)
           
 
Method Summary
 void dispose()
          Gibt Speicher frei
 java.awt.Component getComponent()
           
 java.lang.Object getContext()
           
 Gui4jInternal getGui4j()
           
 org.gui4j.Gui4jCallBase getGui4jCallBase()
           
 Gui4jComponent getGui4jComponent()
           
 Gui4jQualifiedComponent getGui4jComponentInPath()
           
 Gui4jComponentInstance getGui4jComponentInstance(Gui4jQualifiedComponent path)
          Convenience method.
 Gui4jSwingContainer getGui4jSwingContainer()
           
 java.lang.Object getStorage(java.lang.Object tag)
          Returns the storage.
 javax.swing.JComponent getSwingComponent()
           
 void handleException(java.lang.Throwable t)
           
 void handleSuccess()
           
 void refreshComponent()
           
 void setStorage(java.lang.Object tag, java.lang.Object storage)
          Sets the storage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Gui4jComponentInstance

public Gui4jComponentInstance(Gui4jSwingContainer gui4jSwingContainer,
                              java.awt.Component component,
                              Gui4jQualifiedComponent gui4jComponentInPath)
Method Detail

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