Package jaxx.compiler.tags.swing
Class JSplitPaneHandler
java.lang.Object
jaxx.compiler.tags.DefaultObjectHandler
jaxx.compiler.tags.DefaultComponentHandler
jaxx.compiler.tags.swing.JSplitPaneHandler
- All Implemented Interfaces:
TagHandler
public class JSplitPaneHandler extends DefaultComponentHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class jaxx.compiler.tags.DefaultObjectHandler
DefaultObjectHandler.ProxyEventInfo -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTRIBUTE_ORIENTATIONstatic java.lang.StringORIENTATION_VALUE_HORIZONTALstatic java.lang.StringORIENTATION_VALUE_HORIZONTAL_SPLITstatic java.lang.StringORIENTATION_VALUE_VERTICALstatic java.lang.StringORIENTATION_VALUE_VERTICAL_SPLITFields inherited from class jaxx.compiler.tags.DefaultComponentHandler
ACTION_ICON_ATTRIBUTE, BORDER_ATTRIBUTE, BORDER_FACTORY_PREFIX, CONTAINER_DELEGATE_ATTRIBUTE, FONT_FACE_ATTRIBUTE, FONT_SIZE_ATTRIBUTE, FONT_STYLE_ATTRIBUTE, FONT_WEIGHT_ATTRIBUTE, HEIGHT_ATTRIBUTE, I18N_MNEMONIC_ATTRIBUTE, ICON_ATTRIBUTE, ICON_IMAGE_ATTRIBUTE, log, NAME_ATTRIBUTE, TITLED_BORDER_PREFIX, WIDTH_ATTRIBUTE, X_ATTRIBUTE, Y_ATTRIBUTEFields inherited from class jaxx.compiler.tags.DefaultObjectHandler
ABSTRACT_ATTRIBUTE, BORDER_LAYOUT_PREFIX, CONSTRAINTS_ATTRIBUTE, CONSTRUCTOR_PARAMS_ATTRIBUTE, DECORATOR_ATTRIBUTE, DISPLAYED_MNEMONIC_ATTRIBUTE, DISPLAYED_MNEMONIC_INDEX_ATTRIBUTE, GENERIC_TYPE_ATTRIBUTE, GRID_LAYOUT_PREFIX, HANDLER_ATTRIBUTE, ID_ATTRIBUTE, IMPLEMENTS_ATTRIBUTE, INITIALIZER_ATTRIBUTE, JAVA_BEAN_ATTRIBUTE, jaxxBeanInfo, LAYOUT_ATTRIBUTE, MNEMONIC_ATTRIBUTE, objectMap, STYLE_CLASS_ATTRIBUTE, SUPER_GENERIC_TYPE_ATTRIBUTEFields inherited from interface jaxx.compiler.tags.TagHandler
XMLNS_ATTRIBUTE -
Constructor Summary
Constructors Constructor Description JSplitPaneHandler(ClassDescriptor beanClass) -
Method Summary
Modifier and Type Method Description protected intconstantValue(java.lang.String key, java.lang.String value)Add support fororientation="vertical"andorientation="horizontal".CompiledObjectcreateCompiledObject(java.lang.String id, JAXXCompiler compiler)Creates theCompiledObjectwhich will represent the object created by thisTagHandler.Methods inherited from class jaxx.compiler.tags.DefaultComponentHandler
closeComponent, compileFirstPass, compileSecondPass, configureProxyEventInfo, getContainerDelegate, getGetPropertyCode, getPropertyType, getSetPropertyCode, init, isContainer, isPropertyInherited, openComponent, scanAttributesForDependencies, setAttribute, setDefaultsMethods inherited from class jaxx.compiler.tags.DefaultObjectHandler
addEventHandler, addProxyEventInfo, addProxyEventInfo, addProxyEventInfo, addProxyEventInfo, applyStylesheets, compileChildrenFirstPass, compileChildrenSecondPass, compileChildTagFirstPass, compileChildTagSecondPass, convertFromString, getAttributeComparator, getAttributeOrdering, getBeanClass, getEventClass, getEventInfo, getJAXXBeanInfo, getJAXXBeanInfo, isEventHandlerName, isMemberBound, registerCompiledObject, safeInit, setAttributeFromCss, setAttributes, setProperty, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
ATTRIBUTE_ORIENTATION
public static final java.lang.String ATTRIBUTE_ORIENTATION- See Also:
- Constant Field Values
-
ORIENTATION_VALUE_HORIZONTAL
public static final java.lang.String ORIENTATION_VALUE_HORIZONTAL- See Also:
- Constant Field Values
-
ORIENTATION_VALUE_VERTICAL
public static final java.lang.String ORIENTATION_VALUE_VERTICAL- See Also:
- Constant Field Values
-
ORIENTATION_VALUE_VERTICAL_SPLIT
public static final java.lang.String ORIENTATION_VALUE_VERTICAL_SPLIT- See Also:
- Constant Field Values
-
ORIENTATION_VALUE_HORIZONTAL_SPLIT
public static final java.lang.String ORIENTATION_VALUE_HORIZONTAL_SPLIT- See Also:
- Constant Field Values
-
-
Constructor Details
-
JSplitPaneHandler
-
-
Method Details
-
constantValue
protected int constantValue(java.lang.String key, java.lang.String value)Add support fororientation="vertical"andorientation="horizontal". The values required by the JAXXBeanInfo are the unwieldyvertical_splitandhorizontal_split(which are also recognized).- Overrides:
constantValuein classDefaultComponentHandler- Parameters:
key- the name of the int-typed propertyvalue- the non-numeric value that was specified for the property- Returns:
- the constant integer value
-
createCompiledObject
public CompiledObject createCompiledObject(java.lang.String id, JAXXCompiler compiler) throws CompilerExceptionDescription copied from class:DefaultObjectHandlerCreates theCompiledObjectwhich will represent the object created by thisTagHandler.- Overrides:
createCompiledObjectin classDefaultObjectHandler- Parameters:
id- theCompiledObject'sID.compiler- compiler to use- Returns:
- the
CompiledObjectto use - Throws:
CompilerException
-