|
||||||||||
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.Page
public class Page
Title: Page class.
Description: Chart paging characteristics
Copyright (c) 2005-2012 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
protected ChangeEvent |
changeEvent
|
protected EventListenerList |
listenerList
A list of event listeners for this component. |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart, InternalUse |
Constructor Summary | |
---|---|
Page(Chart c)
|
Method Summary | |
---|---|
void |
addChangeListener(ChangeListener l)
Adds a ChangeListener to the button. |
protected void |
fireStateChanged()
Notifies all listeners that have registered interest for notification on this event type. |
boolean |
getAutoScale()
|
int |
getCount()
Gets the number of pages, according to MaxPointsPerPage property. |
int |
getCurrent()
The current page number. |
int |
getFirstValueIndex()
|
int |
getMaxPointsPerPage()
The number of points displayed per page. |
boolean |
getScaleLastPage()
Determines how the last Chart page will be displayed. |
void |
next()
Moves to next page ( Current + 1 ) When MaxPointsPerPage is greater than Zero, TeeChart automatically divides point values in Pages. |
void |
previous()
Moves to previous page ( Current - 1 ) When MaxPointsPerPage is greater than Zero, TeeChart automatically divides point values in Pages. |
protected java.lang.Object |
readResolve()
|
void |
removeChangeListener(ChangeListener l)
Removes a ChangeListener from the button. |
void |
setAutoScale(boolean value)
|
void |
setCurrent(int value)
Sets the current page number. |
void |
setMaxPointsPerPage(int value)
Sets the number of points displayed per page. |
void |
setScaleLastPage(boolean value)
Determines how the last Chart page will be displayed. |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient ChangeEvent changeEvent
protected transient EventListenerList listenerList
Constructor Detail |
---|
public Page(Chart c)
Method Detail |
---|
protected java.lang.Object readResolve()
public void addChangeListener(ChangeListener l)
ChangeListener
to the button.
l
- the listener to be addedpublic void removeChangeListener(ChangeListener l)
l
- the listener to be removedprotected void fireStateChanged()
EventListenerList
public int getCount()
public int getCurrent()
public void setCurrent(int value)
value
- intpublic int getMaxPointsPerPage()
public void setMaxPointsPerPage(int value)
Example:
myChart.getPage().setMaxPointsPerPage(6);
value
- intgetMaxPointsPerPage()
public boolean getScaleLastPage()
public void setScaleLastPage(boolean value)
value
- booleangetScaleLastPage()
public void next()
public void previous()
public void setAutoScale(boolean value)
public boolean getAutoScale()
public int getFirstValueIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |