|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.kleopatra.view.factory.SwingUIFactory
Implementation of UIFactory for Swing toolkit.
Constructor Summary | |
SwingUIFactory()
|
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.List |
createList()
|
protected java.util.Map |
createMap()
|
protected PresentationManager |
createPresentationManager()
|
protected java.awt.Component |
createScroller(java.awt.Component component,
java.lang.Object componentID)
|
protected java.lang.Object |
createScrollID(java.lang.Object componentID)
|
protected java.awt.Component |
customizeComponent(java.awt.Component comp,
java.lang.Object componentID,
java.lang.Object componentType)
|
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 |
getScrollPaneType()
|
protected java.lang.Object |
guessAbstractButtonID(javax.swing.AbstractButton comp)
|
protected java.lang.Object |
guessComponentID(javax.swing.JComponent comp)
|
protected java.lang.Object |
guessDefaultComponentID(java.awt.Component comp)
fall back to see at least something if presentationManager is not active. |
protected void |
installDefaultComponentTypes()
|
void |
setComponentTypeMap(ComponentTypeMap componentTypeMap)
sets map used to map between generic componentType <--> component class in the context of this toolkit. |
protected boolean |
shouldScroll(java.lang.Object componentType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SwingUIFactory()
Method Detail |
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 java.awt.Container createDefaultContainer(java.lang.Object componentID)
UIFactory
createDefaultContainer
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)
protected java.lang.Object guessComponentID(javax.swing.JComponent comp)
protected java.awt.Component customizeComponent(java.awt.Component comp, java.lang.Object componentID, java.lang.Object componentType)
protected java.awt.Component createScroller(java.awt.Component component, java.lang.Object componentID)
protected boolean shouldScroll(java.lang.Object componentType)
protected java.lang.Object guessAbstractButtonID(javax.swing.AbstractButton comp)
protected java.lang.Object guessDefaultComponentID(java.awt.Component comp)
protected java.lang.Object createScrollID(java.lang.Object componentID)
protected void installDefaultComponentTypes()
protected java.lang.Object getFallBackComponentType()
protected java.lang.Object getDefaultContainerType()
protected java.lang.Object getScrollPaneType()
protected ComponentTypeMap createComponentTypeMap()
protected java.util.Map createMap()
protected java.util.List createList()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |