TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.core.internal
Class DPoint

java.lang.Object
  extended by org.eclipse.tptp.platform.report.core.internal.DItem
      extended by org.eclipse.tptp.platform.report.core.internal.DItemContainer
          extended by org.eclipse.tptp.platform.report.core.internal.DPoint
All Implemented Interfaces:
IDItem, IDObject
Direct Known Subclasses:
DPointLink

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class DPoint
extends DItemContainer

A point is a Curve (DCurve) item child containing one or several coordinates (DCoord) assocated to axis (DAxis).

Note: few Graphic types as T_HISTOGRAM (_IM), T_SECTOR (_3D), T_HISTORS and T_STACKBARS, can have label replacing displayed values. Such labels are provided by string contained in a DText item which much be child of DPoint. Only first DText label is used. To set a blank label use empty string in DText item. Note: multi-lines labels are not supported.
labels might be aligned using DAxis.P_LABEL_ALIGNMENT property, refer to DAxis class.

See Also:
DCurve, DCoord

Field Summary
static java.lang.String DEF_ACTUAL_POINT
          Deprecated. Actual point type
static java.lang.String DEF_HOLE_POINT
          Deprecated. Hole point type
 
Constructor Summary
DPoint()
          Deprecated. Creates a point without any coordinate.
 
Method Summary
 DCoord getCoord(DAxis _axis)
          Deprecated.  
 java.lang.String getId()
          Deprecated.  
 java.lang.String getTooltip()
          Deprecated.  
 java.lang.String getType()
          Deprecated.  
 void setId(java.lang.String id)
          Deprecated. Sets the point ID Only activated for the SVG generation
 void setTooltip(java.lang.String tooltip)
          Deprecated. Sets the point's tooltip text Only activated for the SVG generation
 void setType(java.lang.String type)
          Deprecated. sets the point type Only activated for the SVG generation
 
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, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEF_ACTUAL_POINT

public static final java.lang.String DEF_ACTUAL_POINT
Deprecated. 
Actual point type

See Also:
setType(String), Constant Field Values

DEF_HOLE_POINT

public static final java.lang.String DEF_HOLE_POINT
Deprecated. 
Hole point type

See Also:
setType(String), Constant Field Values
Constructor Detail

DPoint

public DPoint()
Deprecated. 
Creates a point without any coordinate.

Method Detail

getCoord

public DCoord getCoord(DAxis _axis)
Deprecated. 
Parameters:
_axis - the axis corresponding to the required coordinate.
Returns:
coordinate assicated to the axis, or null if none.

getType

public java.lang.String getType()
Deprecated. 
Returns:
the point type Only activated for the SVG generation

setType

public void setType(java.lang.String type)
Deprecated. 
sets the point type Only activated for the SVG generation


getTooltip

public java.lang.String getTooltip()
Deprecated. 
Returns:
the tooltip text for the point Only activated for the SVG generation

setTooltip

public void setTooltip(java.lang.String tooltip)
Deprecated. 
Sets the point's tooltip text Only activated for the SVG generation


getId

public java.lang.String getId()
Deprecated. 
Returns:
the point ID Only activated for the SVG generation

setId

public void setId(java.lang.String id)
Deprecated. 
Sets the point ID Only activated for the SVG generation


TPTP 4.5.0 Platform Project
Internal API Specification