Class zebkit.ui.date.DaysGrid
extends <zebkit.ui.grid.Grid>
<zebkit.ui.date>

Shows the given month and year days.

Constructor:
zebkit.ui.date.DaysGrid ( )




Inherited methods:
$getPosMarker( )    $initialCellX( )    $initialCellY( )    $setConstraints(c)    add(constr, d)    byConstraints([p], c)    byPath(path, [cb])    calcPreferredSize(target)    cellByLocation(x, y)    clearSelect( )    doLayout( )    fire(event, [path], [params])    focused( )    getBottom( )    getCanvas( )    getCellsVisibility( )    getCellView(row, col)    getColPSWidth(col)    getColWidth(col)    getColX(col)    getComponentAt(x, y)    getDataToEdit(row, col)    getGridCols( )    getGridColumns( )    getGridRows( )    getHorPadding( )    getLeft( )    getLeftCaptionWidth( )    getPreferredSize( )    getPSColWidth(col)    getPSRowHeight(row)    getRight( )    getRowHeight(row)    getRowPSHeight(col)    getTop( )    getTopCaptionHeight( )    getVerPadding( )    getXOrigin( )    getYOrigin( )    hasFocus( )    indexOf(c)    insert(i, constr, d)    invalidate( )    invalidateLayout( )    isSelected(row, col)    kidAdded(index, constr, l)    kidRemoved(i, l)    laidout( )    load(JSON)    makeVisible(row, col)    off([eventName], [path], [cb])    on([eventName], [path], cb)    pageSize(d)    paintCellSelection(g, row, col, x, y)    paintComponent(g)    paintData(g)    paintNet(g)    paintPosMarker(g)    paintViewAt(g, ax, ay, v)    properties([path], props)    property([path], name, value)    recalc( )    relocated(px, py)    remove(c)    removeAll( )    removeAt(i)    removeByConstraints(ctr)    removeMe([after])    repaint([x], [y], [w], [h])    repaintRows(r1, r2)    requestFocus( )    requestFocusIn([timeout])    resized(pw, ph)    select(row, col, [b])    setAt(i, d)    setBackground(v)    setBorder([v])    setBottomPadding(bottom)    setBounds(x, y, w, h)    setByConstraints(constr, c)    setCellPadding(p)    setCellPaddings(t, l, b, r)    setColsWidth([col], [len], w)    setColWidth(column, w)    setConstraints(ctr)    setDefCellAlignments(ax, ay)    setDefCellXAlignment(ax)    setDefCellYAlignment(ay)    setDrawCaptionLines(s)    setDrawLines(hor, ver)    setEditedData(row, col, an)    setEditorProvider(p)    setEnabled(b)    setId(id)    setKids(a)    setLayout(m)    setLeftCaption(title)    setLeftPadding(left)    setLineColor(c)    setLineSize(s)    setLocation(xx, yy)    setModel(d)    setNavigationMode(mode)    setPadding(v)    setParent(o)    setPosition(p)    setPreferredSize(w, h)    setProperties([path], props)    setRightPadding(right)    setRowHeight(row, h)    setRowsHeight([row], [len], h)    setSize(w, h)    setTopCaption(title)    setTopPadding(top)    setUsePsMetric(b)    setViewProvider(p)    setViews(a)    setVisible(b)    startEditing(row, col)    stopEditing(applyData)    toBack( )    toFront( )    toPreferredHeight( )    toPreferredSize( )    toPreferredWidth( )    toView(target)    validate( )    validateMetric( )    vrp( )   


public <String> getCellColor (row, col)

Get days grid cell color.


Parameters:
  • row <Integer>

    a row

  • col <Integer>

    a column


Returns: <String>

a cell color

public void setValue ([date], [month], [year])

Set a month and an year with the given arguments.


Parameters:
  • [date] <Date>

    a date object.

  • [month] <Integer>

    a month.

  • [year] <Integer>

    a full year.



Inherited attributes:
public zebkit.draw.View bg    public zebkit.draw.View border    public Boolean canHaveFocus    public Integer cellInsetsBottom    public Integer cellInsetsLeft    public Integer cellInsetsRight    public Integer cellInsetsTop    public Object constraints    public String defCellColor    public String defXAlignment    public String defYAlignment    public Boolean drawCaptionLines    public Boolean drawHorLines    public Boolean drawVerLines    public Integer editingCol    public Integer editingRow    public Integer height    public Boolean isEnabled    public Boolean isUsePsMetric    public Boolean isValid    public Boolean isVisible    public Array kids    public zebkit.layout.Layout layout    public zebkit.ui.grid.GridCaption | zebkit.ui.grid.CompGridCaption leftCaption    public String lineColor    public Integer lineSize    public String navigationMode    public Boolean paintPosMarkerOver    public zebkit.layout.Layoutable parent    public zebkit.util.Position position    public zebkit.ui.grid.GridCaption | zebkit.ui.grid.CompGridCaption topCaption    public Integer width    public Integer x    public Integer y