|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zul.impl.XulElement
org.zkoss.zul.Treerow
public class Treerow
A treerow.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl |
| Field Summary |
|---|
| Fields inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
RS_NO_DISPLAY, RS_NO_HEIGHT, RS_NO_WIDTH |
| Fields inherited from interface org.zkoss.zk.ui.Component |
|---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
| Constructor Summary | |
|---|---|
Treerow()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContext()
Returns the same as XulElement.getContext(). |
int |
getLevel()
Returns the level this cell is. |
Treechildren |
getLinkedTreechildren()
Returns the Treechildren associated with this
Treerow. |
java.lang.String |
getOuterAttrs()
Appends attributes for generating the real checkbox HTML tags (name="val"); Used only by component developers. |
java.lang.String |
getPopup()
Returns the same as XulElement.getPopup(). |
java.lang.String |
getSclass()
Returns the style class. |
java.lang.String |
getTooltip()
Returns the same as XulElement.getTooltip(). |
java.lang.String |
getTooltiptext()
Returns the same as HtmlBasedComponent.getTooltiptext() |
Tree |
getTree()
Returns the Tree instance containing this element. |
Treeitem |
getTreeitem()
Deprecated. |
boolean |
insertBefore(org.zkoss.zk.ui.Component child,
org.zkoss.zk.ui.Component insertBefore)
|
protected boolean |
isAsapRequired(java.lang.String evtnm)
|
boolean |
isVisible()
Returns whether this is visible. |
void |
setContext(java.lang.String context)
Alwasys throws UnsupportedOperationException since developers shall use XulElement.setContext(java.lang.String) instead. |
void |
setParent(org.zkoss.zk.ui.Component parent)
|
void |
setPopup(java.lang.String popup)
Alwasys throws UnsupportedOperationException since developers shall use XulElement.setPopup(java.lang.String) instead. |
void |
setTooltip(java.lang.String tooltip)
Alwasys throws UnsupportedOperationException since developers shall use XulElement.setTooltip(java.lang.String) instead. |
| Methods inherited from class org.zkoss.zul.impl.XulElement |
|---|
getAction, getAllOnClickAttrs, getInnerAttrs, setAction |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
addEventListener, appendAsapAttr, focus, getDraggable, getDroppable, getHeight, getLeft, getRealStyle, getRealStyleFlags, getStyle, getTop, getWidth, getZIndex, newExtraCtrl, removeEventListener, setClass, setDraggable, setDroppable, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZIndex |
| Methods inherited from class org.zkoss.zk.ui.AbstractComponent |
|---|
addAnnotation, addAnnotation, addEventHandler, addSharedAnnotationMap, addSharedEventHandlerMap, appendChild, applyProperties, clone, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getDefinition, getDesktop, getEventHandler, getExtraCtrl, getFellow, getFellowIfAny, getId, getListenerIterator, getMold, getMoldURI, getNamespace, getPage, getParent, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, invalidate, isChildable, isListenerAvailable, onChildAdded, onChildRemoved, onDrawNewChild, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setVariable, setVisible, smartUpdate, smartUpdate, smartUpdate, toString, unsetVariable |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Treerow()
| Method Detail |
|---|
public Tree getTree()
Tree instance containing this element.
public int getLevel()
public Treeitem getTreeitem()
Treeitem.
Deprecated since 2.4.1, due to too confusing.
public Treechildren getLinkedTreechildren()
Treechildren associated with this
Treerow.
In other words, it is Treeitem.getTreechildren() of
AbstractComponent.getParent().
Treechildren.getLinkedTreerow()public java.lang.String getSclass()
getSclass in class org.zkoss.zk.ui.HtmlBasedComponentpublic void setContext(java.lang.String context)
XulElement.setContext(java.lang.String) instead.
setContext in class XulElementpublic void setPopup(java.lang.String popup)
XulElement.setPopup(java.lang.String) instead.
setPopup in class XulElementpublic void setTooltip(java.lang.String tooltip)
XulElement.setTooltip(java.lang.String) instead.
setTooltip in class XulElementpublic java.lang.String getContext()
XulElement.getContext().
getContext in class XulElementpublic java.lang.String getPopup()
XulElement.getPopup().
getPopup in class XulElementpublic java.lang.String getTooltip()
XulElement.getTooltip().
getTooltip in class XulElementpublic java.lang.String getTooltiptext()
HtmlBasedComponent.getTooltiptext()
getTooltiptext in class org.zkoss.zk.ui.HtmlBasedComponentprotected boolean isAsapRequired(java.lang.String evtnm)
isAsapRequired in class org.zkoss.zk.ui.HtmlBasedComponentpublic java.lang.String getOuterAttrs()
getOuterAttrs in class XulElementpublic boolean isVisible()
isVisible in interface org.zkoss.zk.ui.ComponentisVisible in class org.zkoss.zk.ui.AbstractComponentpublic void setParent(org.zkoss.zk.ui.Component parent)
setParent in interface org.zkoss.zk.ui.ComponentsetParent in class org.zkoss.zk.ui.AbstractComponent
public boolean insertBefore(org.zkoss.zk.ui.Component child,
org.zkoss.zk.ui.Component insertBefore)
insertBefore in interface org.zkoss.zk.ui.ComponentinsertBefore in class org.zkoss.zk.ui.AbstractComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||