Top
Interstage Studio J Business Kit GUI Library User's Guide
FUJITSU Software

3.3 Calendar Bean

Calendar Bean has the following information and Customizer functions.

See

"Package Guide"- JFCalendarView

Property information

Name

Type

Reference

Setting

Explanation

alignment

int

Y

Y

Display position of calendar header

background

java.awt
Color

Y

Y

Background color

borderColor

java.awt
Color

Y

Y

Border line color

borderType

int

Y

Y

Border line type

borderWidth

int

Y

Y

Border line width

calendarType

int

Y

Y

Display format

componentOrientation

java.awt
ComponentOrientation

Y

Y

The orientation of the string. It depends on the language

dateAlignment

int

Y

Y

Date display position

dayOfMonth

int

Y

Y

Day of the month

dayOfWeek

int

Y

Days of the week

displayDayOfWeek

boolean

Y

Y

Display or non-display of days of the week

displayHeader

boolean

Y

Y

Display or non-display of calendar header

displayMemo

boolean

Y

Y

Display or non-display of memo

enableMenu

boolean

Y

Y

Whether to display the popup menu

enableToolTip

boolean

Y

Y

Whether to display the tool tip

enabled

boolean

Y

Y

Whether enabled

firstDayOfWeek

int

Y

Y

Days of the week displayed first

focusTraversalKeysEnabled

boolean

Y

Y

Whether the focus traversal key is available

focusable

boolean

Y

Y

Whether the focus can be set

font

java.awt
Font

Y

Y

Font

foreground

java.awt
Color

Y

Y

Foreground color

formatString

java.lang
String

Y

Y

Format character string of the character string displayed in the header

ignoreRepaint

boolean

Y

Y

Whether the paint message of the operating system should be ignored

imageAlignment

int

Y

Y

Image display position

locale

java.util
Locale

Y

Y

Locale information

memo

com.fujitsu.jbk.gui
JFCalendarObjectProperty

Y

Memo

memoBackground

java.awt
Color

Y

Y

Memo background color

memoForeground

java.awt
Color

Y

Y

Memo foreground color

month

int

Y

Y

Month

name

java.lang
String

Y

Y

Name

otherBackground

java.awt
Color

Y

Y

Background color of other than the selected month

otherForeground

java.awt
Color

Y

Y

Foreground color of other than the selected month

remoteFont

boolean

Y

Whether the registered font is a remote font

saturdayBackground

java.awt
Color

Y

Y

Background color of Saturday

saturdayForeground

java.awt
Color

Y

Y

Foreground color of Saturday

selectionEnd

com.fujitsu.jbk.gui
JFCalendar

Y

Endpoint of range selection

selectionMode

int

Y

Y

Multiple selection, single selection, or range selection

selectionStart

com.fujitsu.jbk.gui
JFCalendar

Y

Start point of range selection

sundayBackground

java.awt
Color

Y

Y

Background color of Sunday(in holiday use same background color)

sundayForeground

java.awt
Color

Y

Y

Foreground color of Sunday(in holiday use same foreground color)

toolTipText

java.lang
String

Y

Y

Tool tip text

visible

boolean

Y

Y

Whether visible

visibleMemoMarker

boolean

Y

Y

Display or non-display of the marker indicating that the memo is set

weekdayBackground

java.awt
Color

Y

Y

Background color of weekday

weekdayForeground

java.awt
Color

Y

Y

Foreground color of weekday

year

int

Y

Y

Year

Event information

Name

Listener

Addition/removal

Method

Explanation

action

java.awt.event
ActionListener

addActionListener
removeActionListener

actionPerformed

Is issued when the date is double-clicked or the Enter key is pressed.

component

java.awt.event
ComponentListener

addComponentListener
removeComponentListener

componentResized

Is issued when the component status changes.

componentMoved

componentShown

componentHidden

focus

java.awt.event
FocusListener

addFocusListener
removeFocusListener

focusGained

Is issued when the focus moves.

focusLost

inputMethod

java.awt.event
InputMethodListener

addInputMethodListene
rremoveInputMethodListener

caretPositionChanged

Is issued when the input method status changes.

inputMethodTextChanged

item

java.awt.event
ItemListener

addItemListener
removeItemListener

itemStateChanged

Is issued when the date is selected.

key

java.awt.event
KeyListener

addKeyListener
removeKeyListener

keyTyped

Is issued by key operation.

keyPressed

keyReleased

mouse

java.awt.event
MouseListener

addMouseListener
removeMouseListener

mouseClicked

Is issued by mouse operation.

mousePressed

mouseReleased

mouseEntered

mouseExited

mouseMotion

java.awt.event
MouseMotionListener

addMouseMotionListener
removeMouseMotionListener

mouseDragged

Is issued when the mouse moves.

mouseMoved

mouseWheel

java.awt.event
MouseWheelListener

addMouseWheelListener
removeMouseWheelListener

mouseWheelMoved

Is issued by mouse wheel operation.

propertyChange

java.beans
PropertyChangeListener

addPropertyChangeListener
removePropertyChangeListener

propertyChange

Is issued when the property changes.

Method information

Name

Parameters

Explanation

deselect

com.fujitsu.jbk.gui
JFCalendar

Deselects the specified date.

deselectAll

Deselects all dates.

hideToolTip

Erases the tool tip.

moveDate

int

Moves to the relative day.

moveMonth

int

Moves to the relative month.

moveNextDay

Moves to the day after the currently selected day.

moveNextMonth

Moves to the next month.

moveNextYear

Moves to the next year.

movePreviousDay

Moves to the day before the currently selected day.

movePreviousMonth

Moves to the previous month.

movePreviousYear

Moves to the previous year.

moveToday

Moves to the current date.

moveYear

int

Moves to the relative year.

requestFocus

Requests an input focus.

select

com.fujitsu.jbk.gui
JFCalendar

Selects the specified date.

select

com.fujitsu.jbk.gui
JFCalendar

Selects the date in the specified range.

com.fujitsu.jbk.gui
JFCalendar

showToolTip

java.lang
String

Displays the tool tip.

java.awt
Point

java.awt
Dimension

long

transferFocus

Moves the focus to the next component.

Customizer