| net.xoetrope.xui.style.XStyleFactory net.xoetrope.builder.editor.XEditorComponentFactory
XEditorComponentFactory | public class XEditorComponentFactory extends XStyleFactory (Code) | | A special component factory to build customized objects for use in the editor
Copyright: Copyright (c) Xoetrope Ltd., 1998-2003
Company: Xoetrope Ltd.
|
XEditorComponentFactory | public XEditorComponentFactory(String packageName)(Code) | | Create the StyleFactory and initialise with an XStyleManager.
Parameters: manager - the XStyleManager to initialise with |
applyStyle | public void applyStyle(Component c, String style, boolean lookupComp)(Code) | | Apply a style to a component, looking up the style name if necessary
Parameters: c - the component to style Parameters: style - the style name Parameters: lookupComp - true to lookup the style based on the component class |
buildRegisteredComponent | protected Component buildRegisteredComponent(String type, String content)(Code) | | A generic factory for adding registered components via the
XComponentConstructor interface or component factories.
Parameters: type - a name identifying the type of component to be created Parameters: x - the left coordinate Parameters: y - the top coordinate Parameters: w - the width Parameters: h - the height Parameters: content - the component text/content |
constructComponent | public Component constructComponent(int type, String content)(Code) | | A generic factory for constructing XComponents.
Parameters: type - a constant identifying the type of component to be created Parameters: content - the component text/content |
isComponentProxied | protected boolean isComponentProxied(Component c)(Code) | | Check to see if this component should be proxied for use in the editor
Parameters: c - the component true if it is to be proxied |
proxyComponent | public static void proxyComponent(Class c)(Code) | | Adds a component to the list of proxied components
Parameters: c - the component. |
Methods inherited from net.xoetrope.xui.style.XStyleFactory | public Component addClass(String className, int x, int y, int w, int h, String style)(Code)(Java Doc) public Component addClass(String className, int x, int y, int w, int h)(Code)(Java Doc) public Component addComponent(String type, Object constraint, String txt, String style)(Code)(Java Doc) public Component addComponent(String type, int x, int y, int w, int h, String txt, String style)(Code)(Java Doc) public Component addComponent(String type, int x, int y, int w, int h, String txt)(Code)(Java Doc) public Component addComponent(String type, int x, int y, int w, int h)(Code)(Java Doc) public LayoutManager addLayout(Container cont, int type, Hashtable attribs)(Code)(Java Doc) public void applyStyle(Component c, String style, boolean lookupComp)(Code)(Java Doc) public void applyStyle(Component c, XStyle xstyle)(Code)(Java Doc) public void applyStyle(Component c, String style)(Code)(Java Doc) protected void setup()(Code)(Java Doc)
|
|
|