de.kleopatra.view.factory
Class SwingComponentTypeMap
java.lang.Object
de.kleopatra.view.factory.DefaultComponentTypeMap
de.kleopatra.view.factory.SwingComponentTypeMap
- All Implemented Interfaces:
- ComponentTypeMap
- public class SwingComponentTypeMap
- extends DefaultComponentTypeMap
Type map that's roughly initialized to standard Swing JComponent classes.
Note: subclasses which want to hook into custom factories
for the types already registered here should make sure to
remove the entry from the corresponding componentMap.
Or subclass DefaultComponentTypeMap.
- Version:
- $Revision: 1.2 $ - $Date: 2004/09/29 14:39:41 $
- Author:
- (C) Jeanette Winzenburg, Berlin
Methods inherited from class de.kleopatra.view.factory.DefaultComponentTypeMap |
addComponentType, addComponentType, addContainerType, addContainerType, addScrollableType, createMap, createSet, getClass, getClassForEntry, getComponentInstance, getComponentMap, getComponentType, getContainerMap, getContainerTypes, getScrollableTypes, shouldScroll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instantiatorMap
protected java.util.Map instantiatorMap
SwingComponentTypeMap
public SwingComponentTypeMap()
getComponentTypes
public java.util.Set getComponentTypes()
- Description copied from interface:
ComponentTypeMap
- returns a Collection of all generic component types.
- Specified by:
getComponentTypes
in interface ComponentTypeMap
- Overrides:
getComponentTypes
in class DefaultComponentTypeMap
factoryHook
protected java.lang.Object factoryHook(java.lang.Object componentType)
- Description copied from class:
DefaultComponentTypeMap
- hook for subclasses to use custom component factories.
Should return a component instance for the generic type
or null.
here: returns null;
- Overrides:
factoryHook
in class DefaultComponentTypeMap
addComponentInstantiator
protected void addComponentInstantiator(java.lang.Object componentType,
SwingComponentTypeMap.Instantiator instantiator)
initScrollableTypes
protected void initScrollableTypes()
initComponentTypes
protected void initComponentTypes()
initContainerTypes
protected void initContainerTypes()
initInstantiatorTypes
protected void initInstantiatorTypes()
getInstantiatorMap
protected java.util.Map getInstantiatorMap()
Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.