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 int
getColumn()
get cell column index to anchorString
getId()
the id of this widgetint
getLeft()
get the left margin of the anchored cellString
getPanel()
the panel to stay.int
getRow()
get cell row index to anchorint
getTop()
get the top margin of the anchored cellint
getZindex()
set the z index of this widgetvoid
setColumn(int columnanchor)
set cell column index to anchorvoid
setLeft(int offsetleft)
set the left margin of the anchored cellvoid
setRow(int rowanchcor)
set cell row index to anchorvoid
setTop(int offsettop)
set the top margin of the anchored cellvoid
setZindex(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:
-
-