Abstractheaderbean, Method summary, Com.miginfocom.beans class abstractheaderbean – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 3

Advertising
background image

com.miginfocom.beans
Class AbstractHeaderBean

java.lang.Object
|
+-com.miginfocom.beans.AbstractBean
|
+-com.miginfocom.beans.AbstractHeaderBean

public abstract class AbstractHeaderBean
extends AbstractBean

Some basic functionality for header JavaBeans in the MiG Calendar component.

All Implemented Interfaces:

Serializable

Direct Known Subclasses:

DateHeaderBean

,

CategoryHeaderBean

Method Summary

java.awt.Paint

getBackgroundPaint

()

Property: The background paint in the date area.

DateAreaBean

getContainer

()

Returns the container that this header is decorating.

int

getEdge

()

Property: The edge (top, left, bottom, right) that this header should be placed at.

int

getExpandToCorner

()

Property: What corner, if any, the header should expand into if (if it exist, or rather has any
space).

boolean

isVisible

()

Property: If this header should be visible or not.

void

revalidateRepaintContainer

()

If there is a connected container, revaidate and repaint it

void

setBackgroundPaint

(java.awt.Paint p)

Property: The background paint in the date area.

boolean

setDateAreaContainer

(

DateAreaBean

container)

Sets the

com.miginfocom.calendar.datearea.DateAreaContainer

that this header

should decorate.

void

setEdge

(int edge)

Property: The edge (top, left, bottom, right) that this header should be placed at.

void

setExpandToCorner

(int corner)

Property: What corner, if any, the header should expand into if (if it exist, or rather has any
space).

void

setVisible

(boolean b)

Property: If this header should be visible or not.

Page 3 of 196

com.miginfocom.beans.AbstractHeaderBean

Advertising