public abstract class BaseWidget extends Object implements Widget
| Modifier | Constructor and Description |
|---|---|
protected |
BaseWidget(String panel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(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() |
String |
getCtrlKeys() |
WidgetHandler |
getHandler() |
String |
getId()
the id of this widget
|
protected org.zkoss.zk.ui.Component |
getInnerComponent() |
int |
getLeft()
get the left margin of the anchored cell
|
String |
getPanel()
the panel to stay.
|
int |
getRow()
get cell row index to anchor
|
int |
getRow2() |
int |
getTop()
get the top margin of the anchored cell
|
abstract 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(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(String ctrlKeys) |
void |
setHandler(WidgetHandler handler) |
void |
setId(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
|
String |
toString() |
protected BaseWidget(String panel)
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()
Widgetpublic void setRow(int row)
Widgetpublic int getColumn()
Widgetpublic void setColumn(int column)
Widgetpublic int getRow2()
public void setRow2(int row)
public int getColumn2()
public void setColumn2(int column)
public int getLeft()
Widgetpublic void setLeft(int left)
Widgetpublic int getTop()
Widgetpublic void setTop(int top)
Widgetpublic void setZindex(int zindex)
Widgetpublic int getZindex()
Widgetpublic 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(String ctrlKeys)
public String getCtrlKeys()
public void setId(String id)
public void addEventListener(String evtnm, org.zkoss.zk.ui.event.EventListener listener)
public boolean removeEventListener(String evtnm, org.zkoss.zk.ui.event.EventListener listener)
public String getPanel()
Widgetpublic void adjustLocation()
public abstract void invalidate()
public abstract String getWidgetType()
Copyright © 2020. All rights reserved.