Class zebkit.ui.date.MonthDaysGrid.DayPan
extends <zebkit.ui.Panel>
<zebkit.ui.date>

Day panel element class.

Constructor:
zebkit.ui.date.MonthDaysGrid.DayPan ( )



public <Boolean> hasTag (a)
public void setColor (c)
public void setFont (f)
public void setValue (day, month, year)
public <Boolean> tag (tag)
public <Boolean> untag ([tag])

public <Boolean> hasTag (a)

Check if the day panel has the given tag;


Parameters:
  • a <String>

    tag to be checked


Returns: <Boolean>

true if the given tag has been assigned to the day panel

public chainable setColor (c)

Set text color.


Parameters:
public chainable setFont (f)

Set text font


Parameters:
public chainable setValue (day, month, year)

Set the specified related to the panel date.


Parameters:
  • day <Integer>

    a month day

  • month <Integer>

    a month

  • year <Integer>

    an year

public <Boolean> tag (tag)

Add the specified tag to the given day panel


Parameters:
Returns: <Boolean>

true if the tag has been added

public <Boolean> untag ([tag])

Remove the specified tag or all tags for the given day panel


Parameters:
  • [tag] <String>

    a tag name to be removed. All assigned tags will be removed if the argument has not been specified.


Returns: <Boolean>

true if the tag or tags have been removed


public <Integer> day

A month day

public <Integer> month

A month.

private <Array> tags

Assigned tags list.

public <Integer> year

An year.