public interface PlotPage
Modifier and Type | Method and Description |
---|---|
PlotRegion |
addRegion()
Adds a region to this page.
|
void |
clearRegions()
Destroys all regions.
|
PlotRegion |
createRegion(double x,
double y,
double w,
double h)
Creates a region of the specified size at the given position.
|
void |
createRegions(int columns,
int rows)
Splits this page into a grid of equally sized regions.
|
PlotRegion |
currentRegion()
Returns the currently selected region on this page.
|
void |
hidePage()
Method to be called by clients to request that this page is removed from Jas3.
|
PlotRegion |
next()
Selects the next region on this page and sets it as current.
|
int |
numberOfRegions()
Returns the number of regions on this page.
|
PlotRegion |
region(int index)
Return the region specified by the index.
|
void |
setCurrentRegion(PlotRegion reg)
Selects the specified region as current.
|
void |
showPage()
Method to be called by clients to request that this page is displayed in Jas3.
|
Component |
viewable()
Returns a Component that can be used to display a PlotPage in some other
swing component.
|
void createRegions(int columns, int rows)
columns
- Number of columns.rows
- Number of rows.PlotRegion createRegion(double x, double y, double w, double h)
x
- X-coordinate of the bottom left corner of the region.y
- Y-coordinate of the bottom left corner of the region.w
- Width of the region.h
- Height of the region.void clearRegions()
PlotRegion region(int index)
IndexOutOfBoundsException
- exception if the specified index is invalid.PlotRegion currentRegion()
PlotRegion next()
PlotRegion addRegion()
void setCurrentRegion(PlotRegion reg)
int numberOfRegions()
void showPage()
void hidePage()
Component viewable()
Copyright © 2016. All rights reserved.