public class HtmlTableLayout extends UIXComponentBase implements javax.faces.component.behavior.ClientBehaviorHolder
Type | Phases | Description |
---|---|---|
org.apache.myfaces.trinidad.event.AttributeChangeEvent |
Invoke Application Apply Request Values |
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change event might include the width of a column that supported client-side resizing. |
UIXComponentBase.ComponentSystemEventListenerWrapper
Modifier and Type | Field and Description |
---|---|
static PropertyKey |
BORDER_WIDTH_KEY |
static PropertyKey |
CELL_PADDING_KEY |
static PropertyKey |
CELL_SPACING_KEY |
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
HALIGN_CENTER |
static String |
HALIGN_END |
static PropertyKey |
HALIGN_KEY |
static String |
HALIGN_LEFT |
static String |
HALIGN_RIGHT |
static String |
HALIGN_START |
static PropertyKey |
INLINE_STYLE_KEY |
static PropertyKey |
ONCLICK_KEY |
static PropertyKey |
ONDBLCLICK_KEY |
static PropertyKey |
ONKEYDOWN_KEY |
static PropertyKey |
ONKEYPRESS_KEY |
static PropertyKey |
ONKEYUP_KEY |
static PropertyKey |
ONMOUSEDOWN_KEY |
static PropertyKey |
ONMOUSEMOVE_KEY |
static PropertyKey |
ONMOUSEOUT_KEY |
static PropertyKey |
ONMOUSEOVER_KEY |
static PropertyKey |
ONMOUSEUP_KEY |
static PropertyKey |
PARTIAL_TRIGGERS_KEY |
static PropertyKey |
SHORT_DESC_KEY |
static PropertyKey |
STYLE_CLASS_KEY |
static PropertyKey |
SUMMARY_KEY |
static FacesBean.Type |
TYPE |
static PropertyKey |
WIDTH_KEY |
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
Modifier | Constructor and Description |
---|---|
|
HtmlTableLayout()
Construct an instance of the HtmlTableLayout.
|
protected |
HtmlTableLayout(String rendererType)
Construct an instance of the HtmlTableLayout.
|
Modifier and Type | Method and Description |
---|---|
void |
addClientBehavior(String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
Utility method to assist sub-classes in the implementation of the
ClientBehaviorHolder interface. |
protected FacesBean.Type |
getBeanType() |
int |
getBorderWidth()
Gets the border width around each cell.
|
int |
getCellPadding()
Gets the spacing within cells.
|
int |
getCellSpacing()
Gets the spacing between cells.
|
Map<String,List<javax.faces.component.behavior.ClientBehavior>> |
getClientBehaviors()
Utility method to assist sub-classes in the implementation of the
ClientBehaviorHolder interface. |
String |
getDefaultEventName()
Utility method to assist sub-classes in the implementation of the
ClientBehaviorHolder interface. |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getHalign()
Gets the horizontal alignment of the table.
|
String |
getInlineStyle()
Gets the inline CSS style for this element
|
String |
getOnclick()
Gets an onclick Javascript handler.
|
String |
getOndblclick()
Gets an ondblclick Javascript handler.
|
String |
getOnkeydown()
Gets an onkeydown Javascript handler.
|
String |
getOnkeypress()
Gets an onkeypress Javascript handler.
|
String |
getOnkeyup()
Gets an onkeyup Javascript handler.
|
String |
getOnmousedown()
Gets an onmousedown Javascript handler.
|
String |
getOnmousemove()
Gets an onmousemove Javascript handler.
|
String |
getOnmouseout()
Gets an onmouseout Javascript handler.
|
String |
getOnmouseover()
Gets an onmouseover Javascript handler.
|
String |
getOnmouseup()
Gets an onmouseup Javascript handler.
|
String[] |
getPartialTriggers()
Gets the IDs of the components that should trigger a partial update.
|
String |
getShortDesc()
Gets the short description of the bean.
|
String |
getStyleClass()
Gets the CSS style class of the bean.
|
String |
getSummary()
Gets The summary of the table's purpose and structure
for user agents rendering to non-visual media.
|
String |
getWidth()
Gets the preferred total width of the layout.
|
void |
setBorderWidth(int borderWidth)
Sets the border width around each cell.
|
void |
setCellPadding(int cellPadding)
Sets the spacing within cells.
|
void |
setCellSpacing(int cellSpacing)
Sets the spacing between cells.
|
void |
setHalign(String halign)
Sets the horizontal alignment of the table.
|
void |
setInlineStyle(String inlineStyle)
Sets the inline CSS style for this element
|
void |
setOnclick(String onclick)
Sets an onclick Javascript handler.
|
void |
setOndblclick(String ondblclick)
Sets an ondblclick Javascript handler.
|
void |
setOnkeydown(String onkeydown)
Sets an onkeydown Javascript handler.
|
void |
setOnkeypress(String onkeypress)
Sets an onkeypress Javascript handler.
|
void |
setOnkeyup(String onkeyup)
Sets an onkeyup Javascript handler.
|
void |
setOnmousedown(String onmousedown)
Sets an onmousedown Javascript handler.
|
void |
setOnmousemove(String onmousemove)
Sets an onmousemove Javascript handler.
|
void |
setOnmouseout(String onmouseout)
Sets an onmouseout Javascript handler.
|
void |
setOnmouseover(String onmouseover)
Sets an onmouseover Javascript handler.
|
void |
setOnmouseup(String onmouseup)
Sets an onmouseup Javascript handler.
|
void |
setPartialTriggers(String[] partialTriggers)
Sets the IDs of the components that should trigger a partial update.
|
void |
setShortDesc(String shortDesc)
Sets the short description of the bean.
|
void |
setStyleClass(String styleClass)
Sets the CSS style class of the bean.
|
void |
setSummary(String summary)
Sets The summary of the table's purpose and structure
for user agents rendering to non-visual media.
|
void |
setWidth(int width)
Sets the preferred total width of the layout.
|
void |
setWidth(String width)
Sets the preferred total width of the layout.
|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getPassThroughAttributes, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
addPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTree
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
public static final String HALIGN_RIGHT
public static final String HALIGN_START
public static final String HALIGN_LEFT
public static final String HALIGN_END
public static final String HALIGN_CENTER
public static final FacesBean.Type TYPE
public static final PropertyKey WIDTH_KEY
public static final PropertyKey HALIGN_KEY
public static final PropertyKey CELL_SPACING_KEY
public static final PropertyKey CELL_PADDING_KEY
public static final PropertyKey BORDER_WIDTH_KEY
public static final PropertyKey SUMMARY_KEY
public static final PropertyKey SHORT_DESC_KEY
public static final PropertyKey PARTIAL_TRIGGERS_KEY
public static final PropertyKey ONCLICK_KEY
public static final PropertyKey ONDBLCLICK_KEY
public static final PropertyKey ONMOUSEDOWN_KEY
public static final PropertyKey ONMOUSEUP_KEY
public static final PropertyKey ONMOUSEOVER_KEY
public static final PropertyKey ONMOUSEMOVE_KEY
public static final PropertyKey ONMOUSEOUT_KEY
public static final PropertyKey ONKEYPRESS_KEY
public static final PropertyKey ONKEYDOWN_KEY
public static final PropertyKey ONKEYUP_KEY
public static final PropertyKey STYLE_CLASS_KEY
public static final PropertyKey INLINE_STYLE_KEY
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public HtmlTableLayout()
protected HtmlTableLayout(String rendererType)
public final String getWidth()
public final void setWidth(String width)
width
- the new width valuepublic final void setWidth(int width)
width
- the new width valuepublic final String getHalign()
public final void setHalign(String halign)
halign
- the new halign valuepublic final int getCellSpacing()
public final void setCellSpacing(int cellSpacing)
cellSpacing
- the new cellSpacing valuepublic final int getCellPadding()
public final void setCellPadding(int cellPadding)
cellPadding
- the new cellPadding valuepublic final int getBorderWidth()
public final void setBorderWidth(int borderWidth)
borderWidth
- the new borderWidth valuepublic final String getSummary()
public final void setSummary(String summary)
summary
- the new summary valuepublic final String getShortDesc()
public final void setShortDesc(String shortDesc)
shortDesc
- the new shortDesc valuepublic final String[] getPartialTriggers()
public final void setPartialTriggers(String[] partialTriggers)
partialTriggers
- the new partialTriggers valuepublic final String getOnclick()
public final void setOnclick(String onclick)
onclick
- the new onclick valuepublic final String getOndblclick()
public final void setOndblclick(String ondblclick)
ondblclick
- the new ondblclick valuepublic final String getOnmousedown()
public final void setOnmousedown(String onmousedown)
onmousedown
- the new onmousedown valuepublic final String getOnmouseup()
public final void setOnmouseup(String onmouseup)
onmouseup
- the new onmouseup valuepublic final String getOnmouseover()
public final void setOnmouseover(String onmouseover)
onmouseover
- the new onmouseover valuepublic final String getOnmousemove()
public final void setOnmousemove(String onmousemove)
onmousemove
- the new onmousemove valuepublic final String getOnmouseout()
public final void setOnmouseout(String onmouseout)
onmouseout
- the new onmouseout valuepublic final String getOnkeypress()
public final void setOnkeypress(String onkeypress)
onkeypress
- the new onkeypress valuepublic final String getOnkeydown()
public final void setOnkeydown(String onkeydown)
onkeydown
- the new onkeydown valuepublic final String getOnkeyup()
public final void setOnkeyup(String onkeyup)
onkeyup
- the new onkeyup valuepublic final String getStyleClass()
public final void setStyleClass(String styleClass)
styleClass
- the new styleClass valuepublic final String getInlineStyle()
public final void setInlineStyle(String inlineStyle)
inlineStyle
- the new inlineStyle valuepublic String getDefaultEventName()
UIXComponentBase
ClientBehaviorHolder
interface.
This method must only be called by classes that implement the interface, doing otherwise will result in an exception.
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class UIXComponentBase
ClientBehaviorHolder.getDefaultEventName()
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
public Map<String,List<javax.faces.component.behavior.ClientBehavior>> getClientBehaviors()
UIXComponentBase
ClientBehaviorHolder
interface.
This method must only be called by classes that implement the interface, doing otherwise will result in an exception.
getClientBehaviors
in interface javax.faces.component.behavior.ClientBehaviorHolder
getClientBehaviors
in class UIXComponentBase
ClientBehaviorHolder.getClientBehaviors()
public void addClientBehavior(String eventName, javax.faces.component.behavior.ClientBehavior behavior)
UIXComponentBase
ClientBehaviorHolder
interface.
This method must only be called by classes that implement the interface, doing otherwise will result in an exception.
addClientBehavior
in interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior
in class UIXComponentBase
eventName
- The event namebehavior
- The behavior to addClientBehaviorHolder.addClientBehavior(String, ClientBehavior)
public String getFamily()
getFamily
in class UIXComponentBase
protected FacesBean.Type getBeanType()
getBeanType
in class UIXComponentBase
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.