| com.xoetrope.carousel.builder.XEditorHtmlComponentFactory
XEditorHtmlComponentFactory | public class XEditorHtmlComponentFactory extends XStyleFactory (Code) | | A special component factory to build customized objects for use in the editor
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.2 $
|
XEditorHtmlComponentFactory | public XEditorHtmlComponentFactory(XProject project, 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 |
applyStyle | public void applyStyle(Object c, String style)(Code) | | Called after a new component is created. Append the style to the base and
then append the component classname with '/' delimiters.
Parameters: c - Component to apply the style to. Parameters: style - the name of the style to apply. |
buildRegisteredComponent | protected Object buildRegisteredComponent(String type, String content)(Code) | | A generic factory for creating 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 Object constructComponent(String 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(Object 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. |
|
|