TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.chart.internal
Class DefaultRenderChartLocation

java.lang.Object
  extended by java.lang.Throwable
      extended by org.eclipse.tptp.platform.report.chart.internal.DefaultRenderChartLocation
All Implemented Interfaces:
java.io.Serializable, IRenderLocation

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 DefaultRenderChartLocation
extends java.lang.Throwable
implements IRenderLocation

Used to locate a point in a graphic render. Id is a string to identify where is the point. This a throwable because few default graphics an detect a location without testing all possibility.

See Also:
Serialized Form

Field Summary
protected  java.lang.String displayed_text_
          Deprecated. used for location on text area, store displayed text
protected  int end_angle_
          Deprecated. used for CurveSector, start and end angle of sector
protected  java.lang.String id_
          Deprecated. id for location @see DLocated
protected  IDItem item_
          Deprecated. associated item for location.
protected  DPoint ppoint_
          Deprecated. used for CurveLine, here is the previous point of segment
protected  IRect rect_
          Deprecated. area used for location
protected  int start_angle_
          Deprecated. used for CurveSector, start and end angle of sector
 
Constructor Summary
DefaultRenderChartLocation(java.lang.String _id, IDItem _item, IRect _rect)
          Deprecated. Create a ChartLocation
DefaultRenderChartLocation(java.lang.String _id, IDItem _item, Rect _rect, java.lang.String _dtxt)
          Deprecated. Create a ChartLocation
 
Method Summary
 IShape getArea()
          Deprecated.  
 java.lang.String getDisplayedText()
          Deprecated.  
 int getEndAngle()
          Deprecated. end angle of located CurveSector
 java.lang.String getId()
          Deprecated.  
 IDItem getItem()
          Deprecated.  
 DPoint getPreviousPoint()
          Deprecated.  
 int getStartAngle()
          Deprecated. start angle of located CurveSector
 void setAngles(int _start, int _end)
          Deprecated. Set angles
 void setDisplayedText(java.lang.String _t)
          Deprecated. Set Displayed text
 void setPreviousPoint(DPoint pp)
          Deprecated.  
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id_

protected java.lang.String id_
Deprecated. 
id for location @see DLocated


item_

protected IDItem item_
Deprecated. 
associated item for location.


rect_

protected IRect rect_
Deprecated. 
area used for location


displayed_text_

protected java.lang.String displayed_text_
Deprecated. 
used for location on text area, store displayed text


start_angle_

protected int start_angle_
Deprecated. 
used for CurveSector, start and end angle of sector


end_angle_

protected int end_angle_
Deprecated. 
used for CurveSector, start and end angle of sector


ppoint_

protected DPoint ppoint_
Deprecated. 
used for CurveLine, here is the previous point of segment

Constructor Detail

DefaultRenderChartLocation

public DefaultRenderChartLocation(java.lang.String _id,
                                  IDItem _item,
                                  IRect _rect)
Deprecated. 
Create a ChartLocation

Parameters:
_id - identification of the location, @see DLocated
_item - item associated to the location.
_rect - rectangle where the location is valid.

DefaultRenderChartLocation

public DefaultRenderChartLocation(java.lang.String _id,
                                  IDItem _item,
                                  Rect _rect,
                                  java.lang.String _dtxt)
Deprecated. 
Create a ChartLocation

Parameters:
_id - identification of the location, @see DLocated
_item - item associated to the location.
_rect - rectangle where the location is valid.
_dtxt - displayed text
Method Detail

getId

public java.lang.String getId()
Deprecated. 
Specified by:
getId in interface IRenderLocation
Returns:
id for the location, null if unknown

getItem

public IDItem getItem()
Deprecated. 
Specified by:
getItem in interface IRenderLocation
Returns:
item associated with this location

getArea

public IShape getArea()
Deprecated. 
Specified by:
getArea in interface IRenderLocation
Returns:
rectangle where the location is still valid

getDisplayedText

public java.lang.String getDisplayedText()
Deprecated. 
Returns:
displayed text location have, or null

setDisplayedText

public void setDisplayedText(java.lang.String _t)
Deprecated. 
Set Displayed text


getStartAngle

public int getStartAngle()
Deprecated. 
start angle of located CurveSector


getEndAngle

public int getEndAngle()
Deprecated. 
end angle of located CurveSector


setAngles

public void setAngles(int _start,
                      int _end)
Deprecated. 
Set angles


getPreviousPoint

public DPoint getPreviousPoint()
Deprecated. 
Returns:
previous point of CurveLine segment

setPreviousPoint

public void setPreviousPoint(DPoint pp)
Deprecated. 

TPTP 4.6.0 Platform Project
Internal API Specification