| net.xoetrope.xui.style.XStyleFactory net.xoetrope.builder.editor.XEditorStyleFactory
XEditorStyleFactory | public class XEditorStyleFactory extends XStyleFactory (Code) | | Save the style information for use in the editor when components are created
programatically
Copyright (c) Xoetrope Ltd., 2002-2003
$Revision: 1.12 $
License: see License.txt
|
XEditorStyleFactory | public XEditorStyleFactory(XPageResource pageRes, String packageName)(Code) | | Create the StyleFactory and initialise with an XStyleManager.
Parameters: pageRes - the page resource/owner object 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 |
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)
|
|
|