|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.ui.UIComponent<M,C,T>
M - The model objectC - The toolkit container classT - The toolkit component classpublic abstract class UIComponent<M extends INotificationSupport,C,T>
Abstraction of an user interface component.
The UIComponent spans a hierarchical tree. Each UIComponent
maps to a real toolkit interface component that gets realized upon calling
"createComponent".
A UIComponent is associated with a model object via the
INotificationObserver interface.
| Constructor Summary | |
|---|---|
UIComponent()
|
|
UIComponent(IUIComponent<? extends INotificationSupport,C,T> parent)
|
|
| Method Summary | |
|---|---|
void |
configure(IArgs args)
|
void |
createComponent(C parent)
Create the associated toolkit component. |
void |
dispose()
|
T |
getComponent()
The associated toolkit component. |
IArgs |
getConfiguration()
|
M |
getObservable()
The observed object. |
IUIComponent |
getParent()
|
boolean |
isDisposed()
|
void |
setObservable(M observable)
Assign the object to be observed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIComponent()
public UIComponent(IUIComponent<? extends INotificationSupport,C,T> parent)
| Method Detail |
|---|
public void configure(IArgs args)
throws ArgsConfigurationException
configure in interface IArgsConfigurableArgsConfigurationExceptionpublic final void createComponent(C parent)
IComponentProvider
createComponent in interface IComponentProvider<C,T>public void dispose()
dispose in interface IDisposablepublic final T getComponent()
IComponentProvider
getComponent in interface IComponentProvider<C,T>public IArgs getConfiguration()
public M getObservable()
INotificationObserver
getObservable in interface INotificationObserver<M extends INotificationSupport>public IUIComponent getParent()
public boolean isDisposed()
isDisposed in interface IDisposablepublic void setObservable(M observable)
INotificationObserver
setObservable in interface INotificationObserver<M extends INotificationSupport>
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||