MiG InfoCom MiG Calendar JavaBeans User Manual

Page 94

Advertising
background image

void

setHorizontalGridLinePaintOdd

(java.awt.Paint paint)

Property: The paint used to draw the odd (1, 3, 5...) horizontal grid lines.

void

setImage

(XtdImage img)

Property: The background or foreground image in the date area.

void

setImagePlaceRect

(PlaceRect r)

Property: How the image should be placed relative to the bounds of the date area.

void

setImageTiling

(boolean b)

Property: If the image should be tiled within the bounds.

void

setLabelAlignX

(AtRefRangeNumber x)

Property: The horizontal alignment the label should have within the bounds denoted by the

PlaceRact

(

setLabelPlaceRect(com.miginfocom.util.gfx.geometry.PlaceRect)

).

void

setLabelAlignY

(AtRefRangeNumber y)

Property: The vertical alignment the label should have within the bounds denoted by the

PlaceRact

(

setLabelPlaceRect(com.miginfocom.util.gfx.geometry.PlaceRect)

).

void

setLabelAntiAlias

(int hint)

Property: The anti aliasing hint used when drawing the label.

void

setLabelBackground

(java.awt.Paint paint)

Property: The

java.awt.Paint

used to draw the background of the label.

void

setLabelBorder

(javax.swing.border.Border b)

Property: The border that is painted around the label.

void

setLabelCellModulo

(int i)

Property: This property make is possible to show every second or third (for instance) cell
label instead if the default every one.

void

setLabelDateFormat

(String format)

Property: The date format that specifies the text that will be the label.

void

setLabelFirstDateFormat

(String format)

Property: Date format for the "first" of something, e.g. first day of the month.

void

setLabelFirstInField

(int calField)

Property: If

getFirstDateFormat()

is !

void

setLabelFont

(java.awt.Font font)

Property: The font used to draw the label.

void

setLabelForeground

(java.awt.Color c)

Property: The paint that is used to draw the label.

void

setLabelMinimumCellSize

(java.awt.Dimension size)

Property: If the cell is smaller than this size, in any dimension, the label will not be drawn.

void

setLabelNowBackground

(java.awt.Paint paint)

Property: The

java.awt.Paint

used to draw the background of the label for the cell that

spans the current time.

void

setLabelNowBorder

(javax.swing.border.Border b)

Property: The border that is painted around the label for the cell that spans the current time.

Page 94 of 196

com.miginfocom.beans.DateAreaBean

Advertising