Package io.keikai.ui
Interface Widget
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BaseWidget,ChartsWidget,ImageWidget
A widget, like a embedded object of spreadsheet, for example a image, a chart or a dropdown
- Author:
- Dennis.Chen
-
Method Summary
Modifier and TypeMethodDescriptionintget cell column index to anchorgetId()the id of this widgetintgetLeft()get the left margin of the anchored cellgetPanel()the panel to stay.intgetRow()get cell row index to anchorintgetTop()get the top margin of the anchored cellintset the z index of this widgetvoidsetColumn(int columnanchor) set cell column index to anchorvoidsetLeft(int offsetleft) set the left margin of the anchored cellvoidsetRow(int rowanchcor) set cell row index to anchorvoidsetTop(int offsettop) set the top margin of the anchored cellvoidsetZindex(int zindex) set the z-index of this widget
-
Method Details
-
getRow
int getRow()get cell row index to anchor- Returns:
- row anchor
-
setRow
void setRow(int rowanchcor) set cell row index to anchor- Parameters:
rowanchcor- row anchor
-
getColumn
int getColumn()get cell column index to anchor- Returns:
- column anchor
-
setColumn
void setColumn(int columnanchor) set cell column index to anchor- Parameters:
columnanchor- column anchor
-
getLeft
int getLeft()get the left margin of the anchored cell- Returns:
- left margin
-
setLeft
void setLeft(int offsetleft) set the left margin of the anchored cell- Parameters:
offsetleft- left offset
-
getTop
int getTop()get the top margin of the anchored cell- Returns:
- top offset
-
setTop
void setTop(int offsettop) set the top margin of the anchored cell- Parameters:
offsettop- top offset
-
getZindex
int getZindex()set the z index of this widget- Returns:
- z-index
-
setZindex
void setZindex(int zindex) set the z-index of this widget- Parameters:
zindex- the z-index
-
getPanel
String getPanel()the panel to stay. available value is corner,top,left or default- Returns:
-
getId
String getId()the id of this widget- Returns:
-