|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.styles.Series
com.steema.teechart.styles.Calendar
public class Calendar
Title: Calendar class
Description: Calendar Series.
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary | |
---|---|
class |
Calendar.CalendarCell
Title: CalendarCell class Description: Contains the characteristics of each Calendar Cell. |
class |
Calendar.CalendarCellUpper
Title: CalendarCellUpper class Description: Format information for the upper row cells of the Calendar Series. |
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
---|
Series.MarkTextResolver |
Field Summary | |
---|---|
protected DateTimeResolver |
customDate
|
int |
dayOneColumn
|
int |
dayOneRow
|
Fields inherited from class com.steema.teechart.styles.Series |
---|
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, InternalUse, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
Calendar()
|
|
Calendar(IBaseChart c)
|
Method Summary | |
---|---|
protected DateTime |
cellDate(int aCol,
int aRow)
|
protected void |
checkClick(int x,
int y)
|
protected void |
checkClick(java.awt.Point p)
|
int |
clicked(int x,
int y)
Returns the ValueIndex of the "clicked" point in the Series. |
protected void |
draw()
|
protected void |
drawCell(Calendar.CalendarCell cell,
int column,
int row,
java.lang.String text)
|
int |
getColumns()
Returns the number of Columns present in the Calender Series. |
DateTime |
getDate()
Defines a day and causes Calender Series to display the associated month. |
Calendar.CalendarCell |
getDays()
Defines Calender Cell appearance characteristics for calender days. |
java.lang.String |
getDescription()
Gets description text. |
int |
getMonth()
Returns month number of currently displayed month. |
Calendar.CalendarCellUpper |
getMonths()
Defines Calender Cell appearance for the month name. |
javax.swing.JButton |
getNextMonthButton()
Gets the month after the present one. |
ChartPen |
getPen()
Element Pen Characteristics. |
java.awt.Menu |
getPopupMenu()
Returns the popupmenu used by the calendar to show all the month names (when rightclicking the month name on the calendar). |
javax.swing.JButton |
getPreviousMonthButton()
Gets the month before the present one. |
int |
getRows()
Returns the number of Rows present in the Calender Series. |
Calendar.CalendarCell |
getSunday()
Defines Calender Cell appearance for all Sundays. |
Calendar.CalendarCell |
getToday()
Defines Calender Cell appearance for the highlighted day. |
Calendar.CalendarCell |
getTrailing()
Defines Calender Cell appearance for the trailing days. |
Calendar.CalendarCellUpper |
getWeekDays()
Defines Calender Cell appearance for weekday titles. |
void |
monthClick(java.lang.Object sender)
|
java.awt.Cursor |
mouseEvent(java.awt.event.MouseEvent e,
java.awt.Cursor c)
|
void |
nextMonth()
Moves the Calender series onto the month after the present one. |
protected int |
numSampleValues()
|
void |
prepareForGallery(boolean isEnabled)
|
void |
previousMonth()
Moves the Calender series onto the month before the present one. |
protected java.lang.Object |
readResolve()
|
Rectangle |
rectCell(int column,
int row)
Returns the bounderies of a 2D-Rectangle defining the outline of the specified Calender series cell. |
void |
removeDateTimeResolver()
|
void |
setActive(boolean value)
Shows or hides this series. |
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setDate(DateTime value)
Sets a day and causes Calender Series to display the associated month. |
void |
setDateTimeResolver(DateTimeResolver resolver)
|
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.steema.teechart.styles.ISeries |
---|
getChart, invalidate |
Field Detail |
---|
protected transient DateTimeResolver customDate
public int dayOneRow
public int dayOneColumn
Constructor Detail |
---|
public Calendar()
public Calendar(IBaseChart c)
Method Detail |
---|
protected java.lang.Object readResolve()
readResolve
in class Series
public void setDateTimeResolver(DateTimeResolver resolver)
public void removeDateTimeResolver()
public ChartPen getPen()
public DateTime getDate()
public void setDate(DateTime value)
value
- DateTimeprotected void drawCell(Calendar.CalendarCell cell, int column, int row, java.lang.String text)
public java.awt.Cursor mouseEvent(java.awt.event.MouseEvent e, java.awt.Cursor c)
mouseEvent
in class Series
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Series
public Calendar.CalendarCell getDays()
public Calendar.CalendarCellUpper getWeekDays()
public Calendar.CalendarCellUpper getMonths()
public Calendar.CalendarCell getToday()
public Calendar.CalendarCell getSunday()
public Calendar.CalendarCell getTrailing()
public javax.swing.JButton getNextMonthButton()
public javax.swing.JButton getPreviousMonthButton()
protected int numSampleValues()
numSampleValues
in class Series
public int clicked(int x, int y)
clicked
in interface ISeries
clicked
in class Series
x
- inty
- int
public Rectangle rectCell(int column, int row)
column
- introw
- int
public void monthClick(java.lang.Object sender)
public void setActive(boolean value)
Series
setActive
in interface ISeries
setActive
in class Series
value
- booleanpublic void setChart(IBaseChart c)
TeeBase
setChart
in interface ISeries
setChart
in class Series
c
- IBaseChartpublic int getRows()
protected void draw()
draw
in class Series
public java.lang.String getDescription()
getDescription
in class Series
protected DateTime cellDate(int aCol, int aRow)
public int getColumns()
public java.awt.Menu getPopupMenu()
protected void checkClick(int x, int y)
protected void checkClick(java.awt.Point p)
public void nextMonth()
public void previousMonth()
public int getMonth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |