|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.kleopatra.view.factory.AWTUIFactory
minimal implementation for testing AWT.
Constructor Summary | |
AWTUIFactory()
|
Method Summary | |
protected java.awt.Component |
createAndCustomizeComponent(java.lang.Object componentID,
java.lang.Object componentType)
|
java.awt.Component |
createComponent(java.lang.Object componentID,
java.lang.Object componentType)
returns the most appropriate Component based on componentID and componentType. |
protected ComponentTypeMap |
createComponentTypeMap()
|
java.awt.Container |
createDefaultContainer(java.lang.Object componentID)
POST: result ! |
protected java.util.Map |
createMap()
|
protected PresentationManager |
createPresentationManager()
|
java.awt.Component |
customizeComponentByComponentID(java.awt.Component comp,
java.lang.Object componentID)
|
protected void |
customizeComponentDefaultProperty(java.awt.Component comp,
java.lang.Object componentID)
|
protected boolean |
customizeComponentDefaultProperty(java.awt.Component comp,
java.lang.Object componentID,
java.lang.String methodName)
|
java.lang.Object |
getComponentID(java.awt.Component comp)
tries to extract the componentID from a given comp. |
ComponentTypeMap |
getComponentTypeMap()
returns the currently used ComponentTypeMap. |
protected java.lang.Object |
getDefaultContainerType()
|
protected java.lang.Object |
getFallBackComponentType()
|
PresentationManager |
getPresentationManager()
|
protected java.lang.Object |
guessComponentID(java.awt.Component comp)
|
protected void |
installDefaultComponentTypes()
|
void |
setComponentTypeMap(ComponentTypeMap componentTypeMap)
sets map used to map between generic componentType <--> component class in the context of this toolkit. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AWTUIFactory()
Method Detail |
public java.awt.Container createDefaultContainer(java.lang.Object componentID)
UIFactory
createDefaultContainer
in interface UIFactory
public java.awt.Component createComponent(java.lang.Object componentID, java.lang.Object componentType)
UIFactory
createComponent
in interface UIFactory
public void setComponentTypeMap(ComponentTypeMap componentTypeMap)
UIFactory
setComponentTypeMap
in interface UIFactory
public ComponentTypeMap getComponentTypeMap()
UIFactory
getComponentTypeMap
in interface UIFactory
public PresentationManager getPresentationManager()
getPresentationManager
in interface UIFactory
protected PresentationManager createPresentationManager()
public java.lang.Object getComponentID(java.awt.Component comp)
getComponentID
in interface UIFactory
protected java.awt.Component createAndCustomizeComponent(java.lang.Object componentID, java.lang.Object componentType)
public java.awt.Component customizeComponentByComponentID(java.awt.Component comp, java.lang.Object componentID)
protected void customizeComponentDefaultProperty(java.awt.Component comp, java.lang.Object componentID)
protected boolean customizeComponentDefaultProperty(java.awt.Component comp, java.lang.Object componentID, java.lang.String methodName)
protected java.lang.Object guessComponentID(java.awt.Component comp)
protected void installDefaultComponentTypes()
protected java.lang.Object getFallBackComponentType()
protected java.lang.Object getDefaultContainerType()
protected ComponentTypeMap createComponentTypeMap()
protected java.util.Map createMap()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |