Package org.zkoss.zul
Class Grid.ExtraCtrl
java.lang.Object
org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl
org.zkoss.zul.Grid.ExtraCtrl
- All Implemented Interfaces:
PrologAllowed,StubonlyControl,Padding
- Enclosing class:
- Grid
protected class Grid.ExtraCtrl
extends HtmlBasedComponent.ExtraCtrl
implements Padding, StubonlyControl
A utility class to implement
HtmlBasedComponent.getExtraCtrl().
It is used only by component developers.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the padding height in px.booleanReturns whether component-name stub-only matching is allowed.voidsetHeight(int height) Set the padding height in px.Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl
setPrologContent
-
Constructor Details
-
ExtraCtrl
protected ExtraCtrl()
-
-
Method Details
-
isStubonlyDescendantsAllowed
public boolean isStubonlyDescendantsAllowed()Description copied from interface:StubonlyControlReturns whether component-name stub-only matching is allowed. A false result excludes this component and all its descendants, including descendants that declare their own component-name policies.- Specified by:
isStubonlyDescendantsAllowedin interfaceStubonlyControl- Returns:
- whether name-based stub-only matching is allowed for this subtree
-
getHeight
public int getHeight()Description copied from interface:PaddingReturns the padding height in px. -
setHeight
public void setHeight(int height) Description copied from interface:PaddingSet the padding height in px.
-