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

    Modifier and Type
    Method
    Description
    int
    get cell column index to anchor
    the id of this widget
    int
    get the left margin of the anchored cell
    the panel to stay.
    int
    get cell row index to anchor
    int
    get the top margin of the anchored cell
    int
    set the z index of this widget
    void
    setColumn(int columnanchor)
    set cell column index to anchor
    void
    setLeft(int offsetleft)
    set the left margin of the anchored cell
    void
    setRow(int rowanchcor)
    set cell row index to anchor
    void
    setTop(int offsettop)
    set the top margin of the anchored cell
    void
    setZindex(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: