|
TPTP 4.2.0 Platform Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.core.internal.DItem
org.eclipse.tptp.platform.report.core.internal.DItemContainer
org.eclipse.tptp.platform.report.core.internal.DCurve
A curve is the parent of one or several points, can have a name. A curve have also type: BAR/LINE/POINTS/SECTOR, this type is only used in case of multi-curve-type graphic, and may be understand as a "preferred" type rather than "required" type.
DPoint| Field Summary | |
|---|---|
static java.lang.String |
P_COLOR
Property key to set color used to draw the curve. |
static java.lang.String |
P_CS_FALL_COLOR
Property key to set color used for candlestick body when the candlestick is known to be "falling" (ie: closing value is lower than opening one). |
static java.lang.String |
P_ID
Property key as string to store the curve id. |
static java.lang.String |
P_SHIFT_SECTORS
Property key for a positive double applyies on T_PIE3D graphic type, and requesting a shift of sectors. |
static java.lang.String |
P_SYMBOL
Property key to associate a symbol to this curve. value is a string that symbol registry knows. |
static java.lang.String |
T_AREA_LINE
curve is preferred to be a filled area (from this curve to axis). |
static java.lang.String |
T_AREA_LINE_POINTS
same as T_AREA_LINE include symbol on each points of curve. |
static java.lang.String |
T_BAR
curve is preferred to be bars, used by T_XY and T_SERIES3D graphic types. |
static java.lang.String |
T_BAR2
Used in T_SERIES3D graphic type. |
static java.lang.String |
T_BUBBLE
Used in T_XY graphic type. |
static java.lang.String |
T_CANDLESTICK
Used in T_XY graphic type. |
static java.lang.String |
T_CANDLESTICK_LINE
Used in T_XY graphic type. |
static java.lang.String |
T_CIRCLE
Used in T_XY graphic type. |
static java.lang.String |
T_CYLINDER
Used in T_SERIES3D graphic type. |
static java.lang.String |
T_LINE
curve is preferred to be line, used by T_XY and T_SERIES3D graphic types. |
static java.lang.String |
T_LINE_POINTS
curve is preferred to be line and points, for T_XY graphic type, point shape can be redefined using P_SYMBOL property. |
static java.lang.String |
T_POINTS
curve is preferred to be points, for T_XY and T_SERIES3D graphic type, point shape can be redefined using P_SYMBOL property (for T_XY only). |
static java.lang.String |
T_PYRAMID
Used in T_SERIES3D graphic type. |
static java.lang.String |
T_SECTOR
curve is preferred to be sectors |
static java.lang.String |
T_STACKED_AREA_LINE
Same as T_STACKED_LINE and fill the area above this curve and previous one (or axis if it's the first curve). |
static java.lang.String |
T_STACKED_AREA_LINE_POINTS
Same T_STACKED_AREA_LINE, including symbol on each points of curve. |
static java.lang.String |
T_STACKED_LINE
Used in T_XY graphic type. |
static java.lang.String |
T_STACKED_LINE_POINTS
Same as T_STACKED_LINE including symbols on each points of curve. |
static java.lang.String |
T_VBAR
Used in T_XY graphic type. |
| Constructor Summary | |
|---|---|
DCurve()
Creates an empty unamed curve having preferred type LINE. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
DPropertyStore |
getProperties()
|
ISymbol |
getSymbol()
|
java.lang.String |
getTooltip()
|
java.lang.String |
getType()
|
boolean |
isType(java.lang.String _ct)
|
void |
setName(java.lang.String _name)
Change the name of the curve. |
void |
setProperties(DPropertyStore s)
Replaces current property store, with current one. |
void |
setStyle(IDStyle s)
sets the style of the curve |
void |
setTooltip(java.lang.String tooltip_)
sets the tooltip |
void |
setType(java.lang.String _type)
Changes the preferred type for the curve. |
boolean |
useSymbol()
|
| Methods inherited from class org.eclipse.tptp.platform.report.core.internal.DItemContainer |
|---|
clear, getChildCount, getChildOfClass, getChildPosition, getChildrenOfClass, getFirstChild, getLastChild, insertChild, isContainer, removeChild |
| Methods inherited from class org.eclipse.tptp.platform.report.core.internal.DItem |
|---|
addChild, getAppliedStyle, getIterator, getNext, getParent, getRoot, getStyle, setNext, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String T_BAR
public static final java.lang.String T_LINE
public static final java.lang.String T_POINTS
public static final java.lang.String T_LINE_POINTS
public static final java.lang.String T_SECTOR
public static final java.lang.String T_STACKED_LINE
public static final java.lang.String T_STACKED_LINE_POINTS
public static final java.lang.String T_STACKED_AREA_LINE
public static final java.lang.String T_STACKED_AREA_LINE_POINTS
public static final java.lang.String T_AREA_LINE
public static final java.lang.String T_AREA_LINE_POINTS
public static final java.lang.String T_CANDLESTICK
public static final java.lang.String T_CANDLESTICK_LINE
public static final java.lang.String T_VBAR
public static final java.lang.String T_BUBBLE
public static final java.lang.String T_CIRCLE
public static final java.lang.String T_BAR2
public static final java.lang.String T_PYRAMID
public static final java.lang.String T_CYLINDER
public static final java.lang.String P_SYMBOL
T_POINTS,
Constant Field Valuespublic static final java.lang.String P_COLOR
public static final java.lang.String P_CS_FALL_COLOR
public static final java.lang.String P_SHIFT_SECTORS
public static final java.lang.String P_ID
| Constructor Detail |
public DCurve()
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String _name)
_name - new name for the curve.public java.lang.String getType()
public void setType(java.lang.String _type)
_type - new preferred type.public boolean isType(java.lang.String _ct)
public DPropertyStore getProperties()
public void setProperties(DPropertyStore s)
public ISymbol getSymbol()
public boolean useSymbol()
public java.lang.String getTooltip()
public void setTooltip(java.lang.String tooltip_)
public void setStyle(IDStyle s)
setStyle in interface IDItemsetStyle in class DItemDItem.getStyle()
|
TPTP 4.2.0 Platform Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||