org.zkoss.zul.api
Interface Cell

All Superinterfaces:
java.lang.Cloneable, Component, HtmlBasedComponent, Scope, java.io.Serializable, XulElement
All Known Implementing Classes:
Cell

public interface Cell
extends XulElement

The generic cell component to be embedded into Row or Vbox or Hbox for fully control style and layout .

Since:
5.0.0
Author:
jumperchen

Field Summary
 
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 
Method Summary
 java.lang.String getAlign()
          Returns the horizontal alignment.
 int getColspan()
          Returns number of columns to span.
 int getRowspan()
          Returns number of rows to span.
 java.lang.String getValign()
          Returns the vertical alignment.
 void setAlign(java.lang.String align)
          Sets the horizontal alignment.
 void setColspan(int colspan)
          Sets the number of columns to span.
 void setRowspan(int rowspan)
          Sets the number of rows to span.
 void setValign(java.lang.String valign)
          Sets the vertical alignment.
 
Methods inherited from interface org.zkoss.zul.impl.api.XulElement
getAction, getContext, getCtrlKeys, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip
 
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex
 
Methods inherited from interface org.zkoss.zk.ui.Component
addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, containsVariable, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getDefinition, getDesktop, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getUuid, getVariable, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, setWidgetListener, setWidgetOverride, unsetVariable
 
Methods inherited from interface org.zkoss.zk.ui.ext.Scope
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute
 

Method Detail

setAlign

void setAlign(java.lang.String align)
Sets the horizontal alignment.


getAlign

java.lang.String getAlign()
Returns the horizontal alignment.

Default: null (system default: left unless CSS specified).


setValign

void setValign(java.lang.String valign)
Sets the vertical alignment.


getValign

java.lang.String getValign()
Returns the vertical alignment.

Default: null (system default: top).


getColspan

int getColspan()
Returns number of columns to span. Default: 1.


setColspan

void setColspan(int colspan)
Sets the number of columns to span.

It is the same as the colspan attribute of HTML TD tag.


getRowspan

int getRowspan()
Returns number of rows to span. Default: 1.


setRowspan

void setRowspan(int rowspan)
Sets the number of rows to span.

It is the same as the rowspan attribute of HTML TD tag.



Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo