com.teppefall.hybrid.core
Class CommonContext
java.lang.Object
com.teppefall.hybrid.core.CommonContext
- All Implemented Interfaces:
- AssemblyContext, java.io.Serializable
public class CommonContext
- extends java.lang.Object
- implements AssemblyContext, java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CommonContext
public CommonContext()
setRunningAsApplet
public void setRunningAsApplet(boolean runningAsApplet)
- Specified by:
setRunningAsApplet in interface AssemblyContext
isRunningAsApplet
public boolean isRunningAsApplet()
- Specified by:
isRunningAsApplet in interface AssemblyContext
setApplet
public void setApplet(javax.swing.JApplet applet)
- Specified by:
setApplet in interface AssemblyContext
getApplet
public javax.swing.JApplet getApplet()
- Specified by:
getApplet in interface AssemblyContext
setAssembly
public void setAssembly(Assembly assembly)
- Specified by:
setAssembly in interface AssemblyContext
getAssembly
public Assembly getAssembly()
- Specified by:
getAssembly in interface AssemblyContext
getComponentById
public javax.swing.JComponent getComponentById(java.lang.String name)
- Specified by:
getComponentById in interface AssemblyContext
getTextComponentById
public javax.swing.text.JTextComponent getTextComponentById(java.lang.String name)
- Specified by:
getTextComponentById in interface AssemblyContext
getLabelById
public javax.swing.JLabel getLabelById(java.lang.String name)
- Specified by:
getLabelById in interface AssemblyContext
setApplication
public void setApplication(JApplication application)
- Specified by:
setApplication in interface AssemblyContext
getApplication
public JApplication getApplication()
- Specified by:
getApplication in interface AssemblyContext
setScripting
public void setScripting(JScripting scripting)
- Specified by:
setScripting in interface AssemblyContext
getScripting
public JScripting getScripting()
- Specified by:
getScripting in interface AssemblyContext
setResolver
public void setResolver(EmbeddedPanelHost resolver)
getResolver
public EmbeddedPanelHost getResolver()
getAsset
public java.net.URL getAsset(java.lang.String path)
- Specified by:
getAsset in interface AssemblyContext
getAssetAsStream
public java.io.InputStream getAssetAsStream(java.lang.String path)
- Specified by:
getAssetAsStream in interface AssemblyContext
id
public javax.swing.JComponent id(java.lang.String id)
- Specified by:
id in interface AssemblyContext
value
public void value(java.lang.String id,
java.lang.String value)
- Specified by:
value in interface AssemblyContext
addPropertyChangeListener
public void addPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener in interface AssemblyContext
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener in interface AssemblyContext
removePropertyChangeListener
public void removePropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener in interface AssemblyContext
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener in interface AssemblyContext
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object