Package io.keikai.ui
Interface Widget
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BaseWidget,ChartsWidget,ImageWidget
public interface Widget extends Serializable
A widget, like a embedded object of spreadsheet, for example a image, a chart or a dropdown- Author:
- Dennis.Chen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumn()get cell column index to anchorStringgetId()the id of this widgetintgetLeft()get the left margin of the anchored cellStringgetPanel()the panel to stay.intgetRow()get cell row index to anchorintgetTop()get the top margin of the anchored cellintgetZindex()set 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 Detail
-
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:
-
-