|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
ilog.views.util.swing.IlvAbstractCellRenderer
ilog.views.util.swing.calendar.IlvDefaultCalendarCellRenderer
public class IlvDefaultCalendarCellRenderer
IlvDefaultCalendarCellRenderer is the default class for
rendering day cells in an IlvJCalendarPanel.
IlvJCalendarPanel.setCellRenderer(ilog.views.util.swing.calendar.IlvCalendarCellRenderer),
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JLabel |
|---|
JLabel.AccessibleJLabel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JLabel |
|---|
labelFor |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
IlvDefaultCalendarCellRenderer()
Creates a new IlvDefaultCalendarCellRenderer. |
|
| Method Summary | |
|---|---|
Component |
getCalendarCellRendererComponent(IlvJCalendarPanel calendarPanel,
Calendar calendar,
int row,
int column,
boolean isPrevMonth,
boolean isNextMonth,
boolean isSelected,
boolean hasFocus)
Returns a JLabel that has been configured to render the specified day
cell and value. |
| Methods inherited from class ilog.views.util.swing.IlvAbstractCellRenderer |
|---|
firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, repaint, repaint, revalidate, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvDefaultCalendarCellRenderer()
IlvDefaultCalendarCellRenderer.
| Method Detail |
|---|
public Component getCalendarCellRendererComponent(IlvJCalendarPanel calendarPanel,
Calendar calendar,
int row,
int column,
boolean isPrevMonth,
boolean isNextMonth,
boolean isSelected,
boolean hasFocus)
JLabel that has been configured to render the specified day
cell and value. That label's paint method is then called
to "render" the cell.
getCalendarCellRendererComponent in interface IlvCalendarCellRenderercalendarPanel - The IlvJCalendarPanel that is asking the
renderer to draw.calendar - The calendar value of the cell.row - The row index of the cell being drawn.column - The column index of the cell being drawn.isPrevMonth - Indicates if the cell is in the month prior to the
current month displayed by the calendar panel.isNextMonth - Indicates if the cell is in the month after the
current month displayed by the calendar panel.isSelected - Indicates if the cell is selected.hasFocus - Indicates if the cell has the focus.
JLable component whose paint() method
will render the cell and value.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||