Categoryheaderbean, Constructor summary, Method summary – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 27: Com.miginfocom.beans class categoryheaderbean

Advertising
background image

com.miginfocom.beans
Class CategoryHeaderBean

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

com.miginfocom.beans.AbstractHeaderBean

|
+-com.miginfocom.beans.CategoryHeaderBean

public abstract class CategoryHeaderBean
extends

AbstractHeaderBean

A header object that wraps (aggregates) a real

com.miginfocom.calendar.header.Header

implementation.


This bean is for simplifying the usage of a header and to make the header a visual JavaBean.

Note! The category header will end up on the si

All Implemented Interfaces:

Serializable

Direct Known Subclasses:

WestCategoryHeaderBean

,

NorthCategoryHeaderBean

Constructor Summary

public

CategoryHeaderBean

()

Method Summary

void

addInteractionListener

(InteractionListener l)

Adds a listener that listens to

InteractionEvent

s.

void

addInteractionListener

(InteractionListener l, boolean asWeakRef)

Adds a listener that listens to

InteractionEvent

s.

int

getCategoryDepth

()

javax.swing.border.Bo

rder

getCellBorder

()

Property: The

javax.swing.border.Border

used to draw around the cells in the header.

java.awt.Cursor

getCellCursor

()

Property: The

java.awt.Cursor

that the mouse pointer should change to when over a cell

(and not label).

Integer

getForcedHeaderSize

()

Property: The size (height if top/bottom and width if left/right) of the header.

Header

getHeader

()

DefaultSubRowLevel[]

getHeaderLevels

()

Property: The specification for the levels that correspond to the category level.

Page 27 of 196

com.miginfocom.beans.CategoryHeaderBean

Advertising