public class JTextComponentHandler extends DefaultComponentHandler
DefaultObjectHandler.ProxyEventInfo| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_COLUMNS |
static String |
ATTRIBUTE_LINE_WRAP |
static String |
ATTRIBUTE_TEXT |
static String |
ATTRIBUTE_WRAP_STYLE_WORD |
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_ATTRIBUTEABSTRACT_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_ATTRIBUTEXMLNS_ATTRIBUTE| Constructor and Description |
|---|
JTextComponentHandler(ClassDescriptor beanClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureProxyEventInfo()
Configures the event handling for members which do not fire
PropertyChangeEvent when
modified. |
protected int |
getAttributeOrdering(Attr attr)
Returns the priority with which a particular attribute should be processed.
|
String |
getSetPropertyCode(String id,
String name,
String valueCode,
JAXXCompiler compiler)
Returns a snippet of Java code which will set an object property at runtime.
|
protected void |
setDefaults(CompiledObject object,
Element tag,
JAXXCompiler compiler)
Initializes the default settings of the object, prior to setting its
attribute values.
|
closeComponent, compileFirstPass, compileSecondPass, constantValue, getContainerDelegate, getGetPropertyCode, getPropertyType, init, isContainer, isPropertyInherited, openComponent, scanAttributesForDependencies, setAttributeaddEventHandler, addProxyEventInfo, addProxyEventInfo, addProxyEventInfo, addProxyEventInfo, applyStylesheets, compileChildrenFirstPass, compileChildrenSecondPass, compileChildTagFirstPass, compileChildTagSecondPass, convertFromString, createCompiledObject, getAttributeComparator, getBeanClass, getEventClass, getEventInfo, getJAXXBeanInfo, getJAXXBeanInfo, isEventHandlerName, isMemberBound, registerCompiledObject, safeInit, setAttributeFromCss, setAttributes, setProperty, toStringpublic static final String ATTRIBUTE_LINE_WRAP
public static final String ATTRIBUTE_WRAP_STYLE_WORD
public static final String ATTRIBUTE_COLUMNS
public static final String ATTRIBUTE_TEXT
public JTextComponentHandler(ClassDescriptor beanClass)
protected void setDefaults(CompiledObject object, Element tag, JAXXCompiler compiler) throws CompilerException
DefaultObjectHandlersetDefaults in class DefaultComponentHandlerobject - the object to initializetag - the tag being compiledcompiler - the current JAXXCompilerCompilerExceptionpublic String getSetPropertyCode(String id, String name, String valueCode, JAXXCompiler compiler) throws CompilerException
DefaultObjectHandlerset method, but it can be arbitrarily complex.getSetPropertyCode in class DefaultComponentHandlerid - Java code for the object whose property is being setname - the name of the property to setvalueCode - Java expression representing the value to set the property tocompiler - the current JAXXCompilerCompilerException - if a compilation error occursprotected int getAttributeOrdering(Attr attr)
DefaultObjectHandlerDefaultObjectHandler.getAttributeComparator() method to define the sort ordering.getAttributeOrdering in class DefaultObjectHandlerattr - the attribute to treateprotected void configureProxyEventInfo()
DefaultObjectHandlerPropertyChangeEvent when
modified. The default implementation does nothing. Subclasses should override this method to call
addProxyEventInfo for each member which requires special handling.configureProxyEventInfo in class DefaultComponentHandlerCopyright © 2008–2017 Ultreia.io. All rights reserved.