public abstract class BaseWidget extends java.lang.Object implements Widget
Modifier | Constructor and Description |
---|---|
protected |
BaseWidget(java.lang.String panel) |
Modifier and Type | Method and Description |
---|---|
void |
addEventListener(java.lang.String evtnm,
org.zkoss.zk.ui.event.EventListener listener) |
void |
adjustLocation() |
int |
getColumn()
get cell column index to anchor
|
int |
getColumn2() |
org.zkoss.zk.ui.Component |
getComponent() |
protected WidgetCtrl |
getCtrl() |
java.lang.String |
getCtrlKeys() |
WidgetHandler |
getHandler() |
java.lang.String |
getId()
the id of this widget
|
protected org.zkoss.zk.ui.Component |
getInnerComponent() |
int |
getLeft()
get the left margin of the anchored cell
|
java.lang.String |
getPanel()
the panel to stay. available value is corner,top,left or default
|
int |
getRow()
get cell row index to anchor
|
int |
getRow2() |
int |
getTop()
get the top margin of the anchored cell
|
abstract java.lang.String |
getWidgetType()
Returns the widget type.
|
int |
getZindex()
set the z index of this widget
|
abstract void |
invalidate() |
boolean |
isMovable() |
boolean |
isSizable() |
boolean |
isVisible() |
protected WidgetCtrl |
newCtrl() |
boolean |
removeEventListener(java.lang.String evtnm,
org.zkoss.zk.ui.event.EventListener listener) |
void |
setColumn(int column)
set cell column index to anchor
|
void |
setColumn2(int column) |
void |
setCtrlKeys(java.lang.String ctrlKeys) |
void |
setHandler(WidgetHandler handler) |
void |
setId(java.lang.String id) |
void |
setLeft(int left)
set the left margin of the anchored cell
|
void |
setMovable(boolean movable) |
void |
setRow(int row)
set cell row index to anchor
|
void |
setRow2(int row) |
void |
setSizable(boolean sizable) |
void |
setTop(int top)
set the top margin of the anchored cell
|
void |
setVisible(boolean visible) |
void |
setZindex(int zindex)
set the z-index of this widget
|
java.lang.String |
toString() |
protected WidgetCtrl newCtrl()
public org.zkoss.zk.ui.Component getComponent()
protected org.zkoss.zk.ui.Component getInnerComponent()
protected WidgetCtrl getCtrl()
public WidgetHandler getHandler()
public void setHandler(WidgetHandler handler)
public int getRow()
Widget
public void setRow(int row)
Widget
public int getColumn()
Widget
public void setColumn(int column)
Widget
public int getRow2()
public void setRow2(int row)
public int getColumn2()
public void setColumn2(int column)
public int getLeft()
Widget
public void setLeft(int left)
Widget
public int getTop()
Widget
public void setTop(int top)
Widget
public void setZindex(int zindex)
Widget
public int getZindex()
Widget
public boolean isVisible()
public void setVisible(boolean visible)
public boolean isMovable()
public void setMovable(boolean movable)
public boolean isSizable()
public void setSizable(boolean sizable)
public void setCtrlKeys(java.lang.String ctrlKeys)
public java.lang.String getCtrlKeys()
public void setId(java.lang.String id)
public java.lang.String getId()
Widget
public void addEventListener(java.lang.String evtnm, org.zkoss.zk.ui.event.EventListener listener)
public boolean removeEventListener(java.lang.String evtnm, org.zkoss.zk.ui.event.EventListener listener)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getPanel()
Widget
public void adjustLocation()
public abstract void invalidate()
public abstract java.lang.String getWidgetType()
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.