Modifier and Type | Field and Description |
---|---|
static int |
BELOWAREA
Paints the area below the function
|
static int |
NORMAL
Paints the function normal
|
static int |
OVERAREA
Paints the area over the function
|
Constructor and Description |
---|
GraphRendererModel() |
Modifier and Type | Method and Description |
---|---|
void |
addFunction(IFunction function)
Add a function to the set of functions
|
void |
addFunction(IFunction function,
Color color)
Add a function to the set of functions
|
int |
getDisplayMode()
Get the display mode
|
IFunction |
getFunction(int index)
Get a function from this set
|
Color |
getFunctionColor(int index)
Get a color from a function in this set
|
int |
getFunctionsSize()
Get the count of functions in this set
|
String |
getTitle()
Get the main title
|
double |
getXMax()
Sets the function area, which will painted
|
double |
getXMin()
Gets the function area, which will painted
|
String |
getXTitle()
Get the title of the x axis
|
double |
getYMax()
Sets the function area, which will painted
|
double |
getYMin()
Sets the function area, which will painted
|
String |
getYTitle()
Get the title of the y axis
|
void |
setDisplayMode(int mode)
Set the display mode
|
void |
setTitle(String string)
Set the main title
|
void |
setX(double xmin,
double xmax)
Sets the function area, which will painted
|
void |
setXTitle(String string)
Set the title of the x axis
|
void |
setY(double ymin,
double ymax)
Sets the function area, which will painted
|
void |
setYTitle(String string)
Set the title of the y axis
|
public static final int NORMAL
public static final int BELOWAREA
public static final int OVERAREA
public void setX(double xmin, double xmax)
public void setY(double ymin, double ymax)
public double getXMin()
public double getXMax()
public double getYMin()
public double getYMax()
public void setTitle(String string)
public String getTitle()
public void setXTitle(String string)
public String getXTitle()
public void setYTitle(String string)
public String getYTitle()
public void setDisplayMode(int mode)
public int getDisplayMode()
public void addFunction(IFunction function)
public void addFunction(IFunction function, Color color)
public int getFunctionsSize()
public IFunction getFunction(int index)
public Color getFunctionColor(int index)
Copyright © 2021. All rights reserved.