com.quinncurtis.chart3djava
Class UserCoordinates

java.lang.Object
  extended by com.quinncurtis.chart3djava.ChartObj
      extended by com.quinncurtis.chart3djava.UserCoordinates
All Implemented Interfaces:
ChartConstants, java.lang.Cloneable
Direct Known Subclasses:
WorldCoordinates

public class UserCoordinates
extends ChartObj

This class implements simple 2D drawing using the Java user coordinate system. All coordinates are specified in Java user coordinates.


Field Summary
 
Fields inherited from interface com.quinncurtis.chart3djava.ChartConstants
ABOVE_CENTERED_PLOTAREA, ABOVE_REFERENCED_TEXT, ABSTRACT_DATASET, ACTUAL_SIZE, ALARM_TRANSITION_DECREASING_FROM_HIGH, ALARM_TRANSITION_DECREASING_TO_LOW, ALARM_TRANSITION_INCREASING_FROM_LOW, ALARM_TRANSITION_INCREASING_TO_HIGH, ALARM_TRANSITION_NONE_HIGH, ALARM_TRANSITION_NONE_LOW, ALARM_TRANSITION_NONE_NORMAL, ALTBARMODE, APRIL, ARC2D_OBJ, ARROW, ARROW_PLOT, ARROW3D, AUGUST, AUTO_RESIZE_OBJECTS, AUTOAXES_EXACT, AUTOAXES_FAR, AUTOAXES_NEAR, AUTOAXES_STACKED, AUTOAXES_UNSTACKED, AUTOCHART, AUTOSCALE, AXIS, AXIS_CENTER, AXIS_MAX, AXIS_MIN, AXISLABELS, AXISTITLE, BACKGROUND, BACKGROUND_ELLIPSE, BACKGROUND_RECTANGLE, BACKGROUND_ROUNDEDRECTANGLE, BAR_PLOT, BARDATAPOINTVALUE, BELOW_CENTERED_PLOTAREA, BELOW_REFERENCED_TEXT, BOTH_AXES, BOTTOM_BORDER, BOTTOM_SIDE, BUBBLE_PLOT, BUBBLELEGEND, BUBLELEGENDITEM, BUFFERED_IMAGE_RENDERING, BUFFEREDIMAGE, BUSINESSFORMAT, CANDLESTICK, CARTESIAN_COORDINATES, CELL_PLOT, CENTER_GRAPH, CENTER_PLOT, CENTER_RADIUS_BOTTOM, CENTER_RADIUS_LEFT, CENTER_RADIUS_RIGHT, CENTER_RADIUS_TOP, CENTERED_BAR, CHART_FOOTER, CHART_HEADER, CHART_SUBHEAD, CHARTATTRIBUTE, CHARTBRUSHES, CHARTCALENDAR, CHARTPENS, CIRCLE, COLUMN_MAJOR, COMBINE_DATASET_ADD, COMBINE_DATASET_DIVIDE, COMBINE_DATASET_MULTIPLY, COMBINE_DATASET_SUBTRACT, COMBINE_DATASET_X, COMBINE_DATASET_XY, COMBINE_DATASET_Y, CONE3D, CONTOUR_DATASET, CONTOUR_DATASET3D, CONTOUR_FILL, CONTOUR_LINE, CONTOUR_LINEANDFILL, CONTOUR_LINEPOLYGON, CONTOUR_LINEWALK, CONTOURLINE, COORD_SIZE, CROSS, CROSSOVER_DAY, CROSSOVER_MONTH, CROSSOVER_NONE, CROSSOVER_WEEK, CROSSOVER_YEAR, CUBE3D, CURRENCYBUSINESSFORMAT, CURRENCYFORMAT, CUSTOM_POSITION, CUSTOMAXIS, CUSTOMSYMBOL, CYLINDER3D, DATA_MOVEABLE, DATA_TOOLTIP_CUSTOM, DATA_TOOLTIP_GROUP_MULTILINE, DATA_TOOLTIP_OHLC, DATA_TOOLTIP_X, DATA_TOOLTIP_XY_ONELINE, DATA_TOOLTIP_XY_TWOLINE, DATA_TOOLTIP_XYZ_ONELINE, DATA_TOOLTIP_XYZ_THREELINE, DATA_TOOLTIP_Y, DATA_TOOLTIP_Z, DATACOMPRESS_AVERAGE, DATACOMPRESS_MAX, DATACOMPRESS_MIN, DATACOMPRESS_MINMAX, DATACOMPRESS_NONE, DATACOMPRESS_SKIP, DATACOMPRESS_SUM, DATACURSOR, DATAVALUE_SYMBOL_SELECTON, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_YEAR, DECEMBER, DECIMALFORMAT, DEFAULTFORMAT, DEV_POS, DIAMOND, DIAMOND3D, DOWNTRIANGLE, EmptyColor, ENGINEERINGFORMAT, ERROR_ARRAY_NEW, ERROR_ARRAY_NEW_STRING, ERROR_AUTOSCALE, ERROR_AUTOSCALE_DATASET, ERROR_AUTOSCALE_DATASET_STRING, ERROR_AUTOSCALE_DATASETSARRAY, ERROR_AUTOSCALE_DATASETSARRAY_STRING, ERROR_AUTOSCALE_STRING, ERROR_AUTOSCALE_TRANSFORM, ERROR_AUTOSCALE_TRANSFORM_STRING, ERROR_AXIS, ERROR_AXIS_STRING, ERROR_AXISLABLES, ERROR_AXISLABLES_STRING, ERROR_AXISRANGE, ERROR_AXISRANGE_STRING, ERROR_AXISTICKS, ERROR_AXISTICKS_STRING, ERROR_BAD_POLYSURFACE, ERROR_BAD_POLYSURFACE_STRING, ERROR_BARDATAVALUE, ERROR_BARDATAVALUE_STRING, ERROR_BORDER, ERROR_BORDER_STRING, ERROR_COMPONENT, ERROR_COMPONENT_STRING, ERROR_CONTOURDATASET, ERROR_CONTOURDATASET_STRING, ERROR_DATASET, ERROR_DATASET_STRING, ERROR_DATASETSIZE, ERROR_DATASETSIZE_STRING, ERROR_DELAUNAY, ERROR_DELAUNAY_STRING, ERROR_FILECLOSE, ERROR_FILECLOSE_STRING, ERROR_FILEIO, ERROR_FILEIO_STRING, ERROR_FILEOPEN, ERROR_FILEOPEN_STRING, ERROR_FILEREAD, ERROR_FILEREAD_STRING, ERROR_FILEWRITE, ERROR_FILEWRITE_STRING, ERROR_FONT, ERROR_FONT_STRING, ERROR_GRID_ROW_COL, ERROR_GRID_ROW_COL_STRING, ERROR_GROUPDATASET, ERROR_GROUPDATASET_STRING, ERROR_IMAGE, ERROR_IMAGE_STRING, ERROR_INVALID_ALARM_EVENT_ARGUEMENT, ERROR_INVALID_ALARM_EVENT_ARGUEMENT_STRING, ERROR_INVALID_ROUNDED_RECTANGLE_ARGUEMENT, ERROR_INVALID_ROUNDED_RECTANGLE_ARGUEMENT_STRING, ERROR_LEGEND, ERROR_LEGEND_STRING, ERROR_LEGENDITEMSYMBOL, ERROR_LEGENDITEMSYMBOL_STRING, ERROR_LEGENDITEMTEXT, ERROR_LEGENDITEMTEXT_STRING, ERROR_NONE, ERROR_NONE_STRING, ERROR_NULL_ANNUNCIATOR_RECT, ERROR_NULL_ANNUNCIATOR_RECT_STRING, ERROR_NULL_METER_INDICATOR, ERROR_NULL_METER_INDICATOR_STRING, ERROR_NULL_PLOT_TEMPLATE, ERROR_NULL_PLOT_TEMPLATE_STRING, ERROR_NULL_PROCESSVAR, ERROR_NULL_PROCESSVAR_STRING, ERROR_NULLBASEAXIS, ERROR_NULLBASEAXIS_STRING, ERROR_NULLVIEWPORT, ERROR_NULLVIEWPORT_STRING, ERROR_OBJ_NEW, ERROR_OBJ_NEW_STRING, ERROR_OBJECTMISMATCH, ERROR_OBJECTMISMATCH_STRING, ERROR_PLOTOBJ, ERROR_PLOTOBJ_STRING, ERROR_POLARAXES, ERROR_POLARAXES_STRING, ERROR_SCALERANGE, ERROR_SCALERANGE_STRING, ERROR_SCALING, ERROR_SCALING_STRING, ERROR_SHAPE, ERROR_SHAPE_STRING, ERROR_SIMPLEDATASET, ERROR_SIMPLEDATASET_STRING, ERROR_SimpleDataset3D, ERROR_SMALLVIEWPORT, ERROR_SMALLVIEWPORT_STRING, ERROR_SUPERZOOM, ERROR_SUPERZOOM_STRING, ERROR_SYMBOL, ERROR_SYMBOL_STRING, ERROR_TEXT, ERROR_TEXT_STRING, ERROR_TIMELABEL, ERROR_TIMELABEL_STRING, ERROR_WRONGAXISTYPE, ERROR_WRONGAXISTYPE_STRING, ERRORBAR, EXPONENTFORMAT, FASTCLIP_X, FASTCLIP_Y, FEBRUARY, FIRST_IN_SERIES, FIXED_X_ASPECT_RATIO_CORRECTION, FIXED_Y_ASPECT_RATIO_CORRECTION, FLOATING_STACKED_BAR, FLOATINGBAR, FNP_DIST, FNP_NORMDIST, FNP_NORMX, FNP_NORMY, FNP_X, FNP_Y, FRIDAY, FRONT_BORDER, FRONT_FACE_SELECTION, FULL_PLOTAREA_CLIPPING, FULL_POLYSURFACE_SELECTION, GRAPH_AREA_CLIPPING, GRAPH_BACKGROUND, GRAPHAREA_BOTTOM, GRAPHAREA_LEFT, GRAPHAREA_RIGHT, GRAPHAREA_TOP, GRAPHTITLE, GRID, GRID_ALL, GRID_MAJOR, GRID_MINOR, GROUP_DATASET_OBJ, GROUP_DATASET3D_OBJ, GROUPBAR, HBAR, HBAR3D, HIGHLIGHT_COLOR, HISTOGRAM_PLOT, HORIZ_DIR, HOUR, HOUR_OF_DAY, HOURGLASS3D, ICHARTOBJECTPLOT, IMAGE, INDEPENDENT_IN_SERIES, INHERIT_CLIPPING, INSET_3D_LOOK, INSIDE_BAR, INSIDE_BARBASE, INSIDE_INDICATOR, INSIDE_PLOTAREA_MAX, INSIDE_PLOTAREA_MIN, INSIDE_RADIUS_BOTTOM, INSIDE_RADIUS_TOP, JANUARY, JULY, JUNE, JUSTIFY_CENTER, JUSTIFY_MAX, JUSTIFY_MIN, LABEL_ALL, LABEL_INTERCEPT, LABEL_MAX, LABEL_MIN, LABEL_ORIGIN, LAST_IN_SERIES, LEFT_BORDER, LEFT_BUTTON, LEFT_CENTERED_PLOTAREA, LEFT_REFERENCED_TEXT, LEFT_SIDE, LEGEND, LEGEND_FOOTER, LEGEND_HEADER, LEGEND_SUBHEAD, LEGENDITEM, LIGHT_LOWER_LEFT, LIGHT_LOWER_RIGHT, LIGHT_NONE, LIGHT_STRAIGHT_ON, LIGHT_UPPER_LEFT, LIGHT_UPPER_RIGHT, LINE, LINE_MARKER_PLOT, LINE_PLOT, LINEAR_AUTOSCALE, LINEAR_SCALE, LINEAR_SCALE_OBJ, LINEARAXIS, LINEGAP, LM_S, LOG_AUTOSCALE, LOG_SCALE, LOG_SCALE_OBJ, LOGAXIS, LS_DASH_2_2, LS_DASH_4_2, LS_DASH_4_4, LS_DASH_8_4, LS_DASH_DOT, LS_DOT_1_1, LS_DOT_1_2, LS_DOT_1_4, LS_DOT_1_8, LS_SOLID, MANUAL_RESIZE_OBJECTS, MARCH, MARKER, MARKER_BOX, MARKER_CROSS, MARKER_HLINE, MARKER_HVLINE, MARKER_NULL, MARKER_VLINE, MAX_LOG_VALUE, MAY, METER_LABEL_HORIZONTAL, METER_LABEL_PERPENDICULAR, METER_LABEL_RADIAL_1, METER_LABEL_RADIAL_2, MIDDLE_OF_SERIES, MILLISECOND, MIN_LOG_VALUE, MINUTE, MONDAY, MONTH, MOVE_X, MOVE_XY, MOVE_Y, MOVING_AVERAGE_X, MOVING_AVERAGE_XY, MOVING_AVERAGE_Y, MTICKS, MULTI_RIBBON_PLOT, MULTILINE, NEITHER_AXIS, NO_ASPECT_RATIO_CORRECTION, NO_AUTOSCALE, NO_CLIPPING, NO_DATECROSSOVER, NO_FASTCLIP, NO_RESIZE_OBJECTS, NO_SELECTION, NO_STEP, NOOBJECT, NORM_GRAPH_POS, NORM_PLOT_POS, NORM_PROBABILITY_SCALE_OBJ, NOSYMBOL, NOT_MOVEABLE, NOT_SPECIALCONTROL_TYPE, NOVEMBER, NUMERIC_COORDINATE, NUMERICAXISLABELS, NUMERICLABEL, OBJECT_DISABLE, OBJECT_ENABLE, OBJECT_ENABLE_NODRAW, OBJECT_MOVEABLE, OCTOBER, OHLC, OHLC_BAR_PLOT, OHLC_MODE_BARS, OHLC_MODE_FLAGS, OUTSET_3D_LOOK, OUTSIDE_BAR, OUTSIDE_BARBASE, OUTSIDE_INDICATOR, OUTSIDE_PLOTAREA_MAX, OUTSIDE_PLOTAREA_MIN, OUTSIDE_RADIUS_BOTTOM, OUTSIDE_RADIUS_TOP, OVERLAP_LABEL_DELETE, OVERLAP_LABEL_DRAW, OVERLAP_LABEL_STAGGER, PERCENT_NOPERCENTSIGN_FORMAT, PERCENTFORMAT, PHYS_POS, PHYSICAL_COORDINATES, PICTUREBOX_TYPE, PIECHART, PIELABEL_INSLICE, PIELABEL_NONE, PIELABEL_NUMVALUE, PIELABEL_OUTSLICE, PIELABEL_STRING, PIELABEL_STRINGNUMVAL, PIPE_LINE_PLOT, PLOT_AREA_CLIPPING, PLOT_BACKGROUND, PLOTAREA_CENTER, PLUS, PLUS3D, POLAR_AXIS, POLAR_COORDINATES, POLAR_LINE_PLOT, POLAR_POS, POLAR_SCATTER_PLOT, POLARAXES, POLARAXESLABELS, POLARGRID, POLYSURFACE_SQUAREGRID, POLYSURFACE_TRIANGLEGRID, PRE_RENDER_ALL, PRE_RENDER_AXES, PRE_RENDER_NONE, PRE_RENDER_ZORDER_CHANGE, PRINTER_RENDERING, PROBABILITY_AUTOSCALE, PROBABILITY_AXIS, PROBABILITY_COORDINATES, PROBABILITY_SCALE, PROBABILITY_SIGMA_AXIS, PRT_EXACT, PRT_MAX, PRT_PROP, PRT_RECT, PYRAMID3D, RADIOBUTTON_TYPE, RADIUS_BOTTOM, RADIUS_CENTER, RADIUS_LEFT, RADIUS_RIGHT, RADIUS_TOP, rBadDataValue, REAR_BORDER, RENDER_HIGHQUALITY, RENDER_LOWQUALITY, RENDER_STANDARDQUALITY, REPLACE_DATECROSSOVER, RIBBON_PLOT, RIGHT_BORDER, RIGHT_BUTTON, RIGHT_CENTERED_PLOTAREA, RIGHT_REFERENCED_TEXT, RIGHT_SIDE, ROUNDED_RECTANGLE2D, ROW_MAJOR, RT_3DFRAME, RT_ALARM, RT_ALARM_GREATERTHAN, RT_ALARM_INDICATOR, RT_ALARM_LIMIT_BACKGROUND_INDICATOR, RT_ALARM_LIMIT_LINE_INDICATOR, RT_ALARM_LIMIT_SYMBOL_INDICATOR, RT_ALARM_LOWERTHAN, RT_ALARM_NONE, RT_ALARM_PANEL_METER, RT_ANNUNCIATOR_PLOT, RT_AUTO_BARGRAPH, RT_AUTO_METER, RT_AUTO_SCROLL_GRAPH, RT_AUTOSCALE_X, RT_AUTOSCALE_X_CURRENT_SCALE, RT_AUTOSCALE_X_MAX, RT_AUTOSCALE_X_MIN, RT_AUTOSCALE_X_MINMAX, RT_AUTOSCALE_Y, RT_AUTOSCALE_Y_CURRENT_SCALE, RT_AUTOSCALE_Y_MAX, RT_AUTOSCALE_Y_MIN, RT_AUTOSCALE_Y_MINMAX, RT_BAR_INDICATOR, RT_BAR_NUMERIC_VALUE, RT_BAR_SEGMENTED_SUBTYPE, RT_BAR_SINGLE_SEGMENT_SUBTYPE, RT_BAR_SOLID_SUBTYPE, RT_BAR_TIME_VALUE, RT_BARTAG, RT_BOTTOM_HIGH_ALARM_SYMBOL, RT_BOTTOM_LOW_ALARM_SYMBOL, RT_BOTTOM_SETPOINT_SYMBOL, RT_CEILING_VALUE, RT_COMBO_PROCESSVAR, RT_CONTROL_BUTTON_TYPE, RT_CONTROL_MOMENTARYBUTTON_SUBTYPE, RT_CONTROL_RADIOBUTTON_SUBTYPE, RT_CONTROL_SCROLLBAR_TYPE, RT_CONTROL_TOGGLEBUTTON_SUBTYPE, RT_CONTROL_TRACKBAR_TYPE, RT_CUSTOM_STRING, RT_DATASET, RT_DETALED_DESCRIPTION_STRING, RT_DISPLAY_ALL_ALARMS, RT_DISPLAY_NO_ALARM, RT_DISPLAY_PRIMARY_ALARM, RT_FIXEDEXTENT_AUTOWRAP_AUTOSCROLL, RT_FIXEDEXTENT_MOVINGSTART_AUTOSCROLL, RT_FIXEDNUMPOINT_AUTOSCROLL, RT_FLOOR_VALUE, RT_FORM_CONTROL, RT_FORM_CONTROL_GRID, RT_FORM_CONTROL_PANEL_METER, RT_GEN_SHAPE, RT_GRAPH_OBJ, RT_GROUP_DATASET, RT_GROUP_MULTIVALUE_PLOT, RT_INDICATOR_COLOR_CHANGE_ON_ALARM, RT_INDICATOR_COLOR_NO_ALARM_CHANGE, RT_INDICATORRECT_CONTROL_SIZE, RT_LEFT_HIGH_ALARM_SYMBOL, RT_LEFT_LOW_ALARM_SYMBOL, RT_LEFT_SETPOINT_SYMBOL, RT_MAXEXTENT_FIXEDSTART_AUTOSCROLL, RT_METER_ARC_BAND_SUBTYPE, RT_METER_ARC_FLAT_CAP, RT_METER_ARC_INDICATOR, RT_METER_ARC_RADIUS_CAP, RT_METER_ARC_WEDGE_WIDTH_CAP, RT_METER_AXIS, RT_METER_AXIS_LABELS, RT_METER_COORDINATES, RT_METER_FACEPLATE, RT_METER_INDICATOR, RT_METER_NEEDLE_ARROW_SUBTYPE, RT_METER_NEEDLE_INDICATOR, RT_METER_NEEDLE_PIEWEDGE_SUBTYPE, RT_METER_NEEDLE_SIMPLE_SUBTYPE, RT_METER_SEGMENTED_ARC_SUBTYPE, RT_METER_SINGLE_SEGMENT_ARC_SUBTYPE, RT_METER_SINGLE_SYMBOL_SUBTYPE, RT_METER_STRING_AXIS_LABELS, RT_METER_SYMBOL_ARC_SUBTYPE, RT_METER_SYMBOL_INDICATOR, RT_MIN_CONTROL_SIZE, RT_MONOTONIC_X_MODE, RT_MULTIALARM_INDICATOR, RT_MULTIBAR_INDICATOR, RT_MULTIPOINTER_INDICATOR, RT_MULTIVALUE_ANNUNCIATOR, RT_MULTIVALUE_INDICATOR, RT_NMETER, RT_NO_ALARM_LIMIT_INDICATOR, RT_NO_AUTOSCALE_X, RT_NO_AUTOSCALE_Y, RT_NO_SYMBOL, RT_NOT_MONOTONIC_X_MODE, RT_NUMERIC_PANEL_METER, RT_ORIG_CONTROL_SIZE, RT_PIDCONTROL, RT_PLOT, RT_POINTER_INDICATOR, RT_POINTER_SUBTYPE, RT_PROCESSVAR, RT_PROCESSVAR_ALARM, RT_RIGHT_HIGH_ALARM_SYMBOL, RT_RIGHT_LOW_ALARM_SYMBOL, RT_RIGHT_SETPOINT_SYMBOL, RT_ROUND_VALUE, RT_SCROLL_FRAME, RT_SETPOINT_VALUE, RT_SHAPE_ELLIPSE, RT_SHAPE_RECTANGLE, RT_SHAPE_ROUNDEDRECTANGLE, RT_SHORT_DESCRIPTION_STRING, RT_SIMPLE_DATASET, RT_SIMPLE_SINGLEVALUE_PLOT, RT_SINGLE_CHANNEL_PANEL_METER, RT_SINGLE_VALUE_INDICATOR, RT_STRING_PANEL_METER, RT_SYMBOL, RT_TAG_STRING, RT_TEXT_BACKGROUND_COLOR_CHANGE_ON_ALARM, RT_TEXTFRAME, RT_TIME_GROUP_DATASET, RT_TIME_PANEL_METER, RT_TIME_SIMPLE_DATASET, RT_TOP_HIGH_ALARM_SYMBOL, RT_TOP_LOW_ALARM_SYMBOL, RT_TOP_SETPOINT_SYMBOL, RT_TRACKBAR_HORIZONTAL_CENTER_POINTER, RT_TRACKBAR_HORIZONTAL_DOWN_POINTER, RT_TRACKBAR_VERTICAL_CENTER_POINTER, RT_TRACKBAR_VERTICAL_RIGHT_POINTER, RT_UNIQUEID_STRING, RT_UNITS_STRING, RTPID_POSITIONCONTROL, RTPID_VELOCITYCONTROL, SATURDAY, SCALE_FACTOR_SIZE, SCATTER_PLOT, SCIENTIFICFORMAT, SCREEN_POS, SCREEN_RENDERING, SCROLLBAR_TYPE, SECOND, SECONDSPERDAY, SEPTEMBER, SHADOW_COLOR, SHAPE, SIGMA_FORMAT, SIMPLE_DATASET, SIMPLE_DATASET3D, SIMPLE_PLOTAREA_CLIPPING, SIMPLEBUTTON_TYPE, SIMPLECOLORMODE, SIMPLEGRADIENTMODE, SIZE_BUBBLE_AREA, SIZE_BUBBLE_RADIUS, sizeOfDouble, SPHERE3D, SQUARE, STACKED_RIBBON_PLOT, STACKEDBAR, STACKEDLINE, STAR, STEP_END, STEP_NO_RISE_LINE, STEP_START, STRINGAXISLABELS, STRINGLABEL, SUNDAY, SYMBOL, TEXT, THURSDAY, TICK_MAJOR, TICK_MINOR, TICKS, TIME_AUTOSCALE, TIME_COORDINATE, TIME_COORDINATES, TIME_GROUP_DATASET, TIME_GROUP_DATASET3D, TIME_SCALE, TIME_SCALE_OBJ, TIME_SIMPLE_DATASET, TIME_SIMPLE_DATASET3D, TIMEAXIS, TIMEAXIS_10MINUTEMINUTE, TIMEAXIS_10SECONDSECOND, TIMEAXIS_10YEARYEAR, TIMEAXIS_12HOURHOUR, TIMEAXIS_15MINUTEMINUTE, TIMEAXIS_15SECONDSECOND, TIMEAXIS_20YEAR5YEAR, TIMEAXIS_2HOURHOUR, TIMEAXIS_2MINUTEMINUTE, TIMEAXIS_2SECONDSECOND, TIMEAXIS_30MINUTEMINUTE, TIMEAXIS_30SECONDSECOND, TIMEAXIS_4HOURHOUR, TIMEAXIS_50YEAR10YEAR, TIMEAXIS_5MINUTEMINUTE, TIMEAXIS_5SECONDSECOND, TIMEAXIS_5YEARYEAR, TIMEAXIS_8HOURHOUR, TIMEAXIS_DAY, TIMEAXIS_DAY12HOUR, TIMEAXIS_DAY2HOUR, TIMEAXIS_DAY4HOUR, TIMEAXIS_DAY8HOUR, TIMEAXIS_DAYHOUR, TIMEAXIS_HOUR, TIMEAXIS_HOUR10MINUTE, TIMEAXIS_HOUR15MINUTE, TIMEAXIS_HOUR2MINUTE, TIMEAXIS_HOUR30MINUTE, TIMEAXIS_HOUR5MINUTE, TIMEAXIS_HOURMINUTE, TIMEAXIS_MILLISECOND, TIMEAXIS_MILLISECOND1, TIMEAXIS_MILLISECOND2, TIMEAXIS_MILLISECOND3, TIMEAXIS_MINUTE, TIMEAXIS_MINUTE10SECOND, TIMEAXIS_MINUTE15SECOND, TIMEAXIS_MINUTE2SECOND, TIMEAXIS_MINUTE30SECOND, TIMEAXIS_MINUTE5SECOND, TIMEAXIS_MINUTESECOND, TIMEAXIS_MONTH, TIMEAXIS_MONTHDAY, TIMEAXIS_MONTHWEEK, TIMEAXIS_QUARTER, TIMEAXIS_QUARTERMONTH, TIMEAXIS_SECOND, TIMEAXIS_SECONDMILLISECOND, TIMEAXIS_WEEK, TIMEAXIS_WEEKDAY, TIMEAXIS_YEAR, TIMEAXIS_YEARMONTH, TIMEAXIS_YEARQUARTER, TIMEAXISLABELS, TIMEBASE_DAY, TIMEBASE_HOUR, TIMEBASE_MILLISECOND, TIMEBASE_MINUTE, TIMEBASE_MONTH, TIMEBASE_SECOND, TIMEBASE_TICKS, TIMEBASE_WEEK, TIMEBASE_YEAR, TIMEDATEFORMAT, TIMEDATEFORMAT_12HM, TIMEDATEFORMAT_12HMS, TIMEDATEFORMAT_12HMSD, TIMEDATEFORMAT_12HMSDD, TIMEDATEFORMAT_24HM, TIMEDATEFORMAT_24HMS, TIMEDATEFORMAT_24HMSD, TIMEDATEFORMAT_24HMSDD, TIMEDATEFORMAT_D, TIMEDATEFORMAT_DDD, TIMEDATEFORMAT_DDDD, TIMEDATEFORMAT_DMY, TIMEDATEFORMAT_DMY2000, TIMEDATEFORMAT_M, TIMEDATEFORMAT_MDY, TIMEDATEFORMAT_MDY2000, TIMEDATEFORMAT_MMM, TIMEDATEFORMAT_MMMM, TIMEDATEFORMAT_MS, TIMEDATEFORMAT_MSD, TIMEDATEFORMAT_MSDD, TIMEDATEFORMAT_MSDDD, TIMEDATEFORMAT_MY, TIMEDATEFORMAT_MY2000, TIMEDATEFORMAT_NONE, TIMEDATEFORMAT_Q, TIMEDATEFORMAT_STANDARD, TIMEDATEFORMAT_Y, TIMEDATEFORMAT_Y2000, TIMELABEL, TOP_BORDER, TOP_SIDE, TRACKBAR_TYPE, TRANSFORM_3D, TransparentColor, TUESDAY, UNDECIMBER, UNDER_DATECROSSOVER, UPTRIANGLE, USER_COORD_MAX, USER_COORDINATES, USER_POS, USERGRADIENTMODE, USERTEXTUREMODE, VBAR, VBAR3D, VERT_DIR, WALL3D, WEDNESDAY, WEEK_5D, WEEK_7D, WEEK_OF_MONTH, WEEK_OF_YEAR, WORKING_COORDINATES, WORLD_COORDINATES, X_AXIS, XY_MAXZ_PLANE, XY_MINZ_PLANE, XY_PLANE, XZ_MAXY_PLANE, XZ_MINY_PLANE, XZ_PLANE, Y_AXIS, YEAR, YZ_MAXX_PLANE, YZ_MINX_PLANE, YZ_PLANE, Z_AXIS, ZOOM
 
Constructor Summary
UserCoordinates()
          Creates a new instance of UserCoordinates
 
Method Summary
 java.lang.Object clone()
          Returns an object that is a clone of this UserCoordinates object.
 ChartPoint3D convert3DPoint(ChartPoint3D pnt)
          This methods sets transforms the 3D user coordinates to a 2D screen coordinate projection.
 ChartPoint3D convert3DPoint(double x, double y, double z)
          This methods transforms the 3D coordinates to a 2D projection.
 ChartRectangle3D convert3DRectangle(ChartRectangle3D rect)
          This methods transforms the 3D coordinates of a rectangle to a 2D projection.
 void copy(UserCoordinates source)
          Copies the source UserCoordinates object.
 void drawFillCircle(java.awt.Graphics2D g2, int x, int y, int radiusx, int radiusy)
          This method renders an ellipse, using the current fill attributes.
 void drawFillPath(java.awt.Graphics2D g2, java.awt.geom.GeneralPath path)
          This method renders a closed polygon, contained in the specified path, using the current fill attributes.
 void drawFillRectangle(java.awt.Graphics2D g2, ChartRectangle3D rect)
          This method renders a rectangle using the current fill attributes.
 void drawPath(java.awt.Graphics2D g2, java.awt.geom.GeneralPath path)
          This method renders a closed polygon, contained in the specified path, using the specified pen.
 void endXORMode(ChartView canvas)
          This method ends an XOR drawing mode for the window.
 int errorCheck(int nerror)
          Checks the scale object for common errors.
 void fillPath(java.awt.Graphics2D g2, java.awt.geom.GeneralPath path)
          This method renders a closed polygon, contained in the specified path, using the specified pen.
 ChartRectangle3D getClippingBounds()
          This method returns the clipping bounds.
 ChartRectangle3D getClipRect()
          This method returns the current clipping rectangle of the current graphics context.
 java.awt.Graphics getContext()
          This method returns a reference to the current graphics context used by the drawing routines in this class.
 ChartAttribute getCurrentAttributes()
          This method returns a copy of the current drawing attributes for the class.
 java.awt.Color getCurrentColor()
          This method returns the current drawing color for the class.
 java.awt.Font getCurrentFont()
          This method returns the current font used in the rendering of text.
static ChartRectangle3D getInitialClipRect()
          This method returns the intial clipping rectangle of the graphics context.
 ChartRectangle3D getIntersectClipRect(ChartRectangle3D cliprect)
          Combines the initital clipping rectangle with the current clipping rectangle, returning the intersection.
 boolean getLightingEnabled()
          Get the the light enabled flag.
 PolygonList getPolygonBuffer()
          Get the current polygon buffer as a PolygonList object.
 double getStringAscent(java.awt.Graphics2D g2, java.lang.String s)
          This method returns the ascent of the specified string, rendered using the current font.
 double getStringDescent(java.awt.Graphics2D g2, java.lang.String s)
          This method returns the descent of the specified string, rendered using the current font.
 ChartDimension3D getStringDimension(java.awt.Graphics2D g2, java.lang.String s)
          This method returns the bounding dimension of the specified string, rendered using the current font.
 double getStringLeading(java.awt.Graphics2D g2, java.lang.String s)
          This method returns the ascent of the specified string, rendered using the current font.
 double getStringLineSpace(java.awt.Graphics2D g2, java.lang.String s)
          This method returns the line spacing of the specified string, rendered using the current font.
 ChartRectangle3D getStringRect(java.awt.Graphics2D g2, java.lang.String s)
          This method returns the bounding box of the specified string, rendered using the current font.
 double getStringX(java.awt.Graphics2D g2, java.lang.String s)
          This method returns the bounding width of the specified string, rendered using the current font.
 double getStringY(java.awt.Graphics2D g2, java.lang.String s)
          This method returns the bounding height of the specified string, rendered using the current font.
 Transform3D getTheTransform3D()
          Get the 3D transform object associated with this coordinate system.
 boolean getUse3DRoutines()
          Return true if the 3D transform is NOT the identity matrix, hence 3D drawing routines used.
 ChartPoint3D getUserCurrentPos()
          This method returns the current position, in window device coordinates, of the graphics pen.
 ChartRectangle3D getUserViewport()
          This method returns the current drawing viewport.
 double getUserX1()
          This method returns the lower left x-value, in window device coordinates, defining the current viewport.
 double getUserX2()
          This method returns the upper right x-value, in window device coordinates, defining the current viewport.
 double getUserY1()
          This method returns the lower left y-value, in window device coordinates, defining the current viewport.
 double getUserY2()
          This method returns the upper right y-value, in window device coordinates, defining the current viewport.
 boolean getWireFrame()
          Get the current wire frame mode (true and no polygon fills are used in drawing.
 void pLineAbs(java.awt.geom.GeneralPath path, ChartPoint3D p1, ChartPoint3D p2)
          This method adds a line segment with endpoints (x1,y1)-(x2,y2) to the specified path.
 void pLineAbs(java.awt.geom.GeneralPath path, double x1, double y1, double z1, double x2, double y2, double z2)
          This method adds a line segment with endpoints (x1,y1, z1)-(x2,y2, z2) to the specified path.
 void pLineRel(java.awt.geom.GeneralPath path, double x, double y, double z)
          This method implements a relative lineto operation by adding the x, y and z values to the current drawing position, and drawing a line from the old position to the new position.
 void pLineToAbs(java.awt.geom.GeneralPath path, ChartPoint3D p1)
          This method implements a lineto operation by drawing a line from the current location to the specified x-, y-, and z-coordinates of the specified path.
 void pLineToAbs(java.awt.geom.GeneralPath path, double x, double y, double z)
          This method implements a lineto operation by drawing a line from the current location to the specified x-, y- and z-coordinates of the specified path.
 void pMoveRel(java.awt.geom.GeneralPath path, double x, double y, double z)
          This method implements a relative move operation by adding the x, y and z values to the current drawing position of the specified path.
 void pMoveToAbs(java.awt.geom.GeneralPath path, ChartPoint3D p)
          This methods sets current drawing position of the specified path to the specified x-, y-, and z-coordinates.
 void pMoveToAbs(java.awt.geom.GeneralPath path, double x, double y, double z)
          This methods sets current drawing position of the specified path to the specified x-, y- and z-coordinates.
 void pPolyLine(java.awt.geom.GeneralPath path, ChartPoint3D[] p, int numdat)
          This method adds multiple line segments to the specified path.
 void pRectangle(java.awt.geom.GeneralPath path, ChartRectangle3D rect)
          This method adds a rectangle shape to the specified path.
 void pTriangle(java.awt.geom.GeneralPath path, ChartRectangle3D rect, int dir)
          This method adds a triangle shape to the specified path.
 void setClippingBounds(ChartRectangle3D cliprect)
          Sets the clipping bounds using the specified rectangle.
 void setClippingBounds(int x, int y, int z, int w, int h, int d)
          Sets the clipping bounds using the specified rectangle.
 void setClipRect(ChartRectangle3D rect)
          Sets the current clipping rectangle in the current graphics context.
 void setClipRect(double x, double y, double z, double w, double h, double d)
          Sets the current clipping rectangle in the current graphics context.
 void setClipRectX(ChartRectangle3D cliprect)
          Sets the current clipping rectangle in the current graphics context.
 void setContext(java.awt.Graphics2D g2)
          This method initializes the current graphics context used by the drawing routines in this class.
 void setCurrentAttributes(ChartAttribute attrib)
          Sets the current drawing attributes of the current graphics context.
 void setCurrentColor(java.awt.Color rgbcolor)
          Sets the current drawing color of the graphics context.
 void setCurrentFont(java.awt.Font font)
          Sets the current font used in the rendering of text.
static void setInitialClipRect(ChartRectangle3D r)
          This method sets the intial clipping rectangle of the graphics context.
 void setLightingEnabled(boolean value)
          Set the the light enabled flag.
 void setPlaneColor(ChartPoint3D[] solid, ChartAttribute attrib)
          Sets the colors for drawing and filling a polygon.
 void setPolygonBuffer(PolygonList value)
          Set the current polygon buffer as a PolygonList object.
 void setTheTransform3D(Transform3D value)
          Set the 3D transform object associated with this coordinate system.
 void setUserViewport(ChartRectangle3D rect)
          Sets the current drawing viewport using window device coordinates.
 void setUserViewport(double x, double y, double z, double w, double h, double d)
          Sets the current drawing viewport using window device coordinates.
 void setWireFrame(boolean value)
          Set the current wire frame mode (true and no polygon fills are used in drawing.
 void startXORMode(ChartView canvas, java.awt.Color framecolor, int linestyle)
          This method starts an XOR drawing mode for the window.
 
Methods inherited from class com.quinncurtis.chart3djava.ChartObj
copy, getChartObjIDCntr, getChartObjType, getThisChartObjID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserCoordinates

public UserCoordinates()
Creates a new instance of UserCoordinates

Method Detail

errorCheck

public int errorCheck(int nerror)
Checks the scale object for common errors.

Overrides:
errorCheck in class ChartObj
Parameters:
nerror - Current error state
Returns:
Returns an error code.

copy

public void copy(UserCoordinates source)
Copies the source UserCoordinates object.

Parameters:
source - The source UserCoordinates object.

clone

public java.lang.Object clone()
Returns an object that is a clone of this UserCoordinates object.

Overrides:
clone in class java.lang.Object
Returns:
Returns a clone of this UserCoordinates object.

setContext

public void setContext(java.awt.Graphics2D g2)
This method initializes the current graphics context used by the drawing routines in this class.

Parameters:
g2 - The graphics context.

getContext

public java.awt.Graphics getContext()
This method returns a reference to the current graphics context used by the drawing routines in this class.

Returns:
Returns the current graphics context.

setClippingBounds

public void setClippingBounds(ChartRectangle3D cliprect)
Sets the clipping bounds using the specified rectangle.

Parameters:
cliprect - The clipping rectangle in window device coordinates.

setClippingBounds

public void setClippingBounds(int x,
                              int y,
                              int z,
                              int w,
                              int h,
                              int d)
Sets the clipping bounds using the specified rectangle.

Parameters:
x - The x-position of the clipping rectangle in window device coordinates.
y - The y-position of the clipping rectangle in window device coordinates.
z - The z-position of the clipping rectangle in window device coordinates.
w - The width of the clipping rectangle in window device coordinates.
h - The height of the clipping rectangle in window device coordinates.
d - The depth of the clipping rectangle in window device coordinates.

getClippingBounds

public ChartRectangle3D getClippingBounds()
This method returns the clipping bounds.

Returns:
Returns the clipping rectangle in window device coordinates.

getIntersectClipRect

public ChartRectangle3D getIntersectClipRect(ChartRectangle3D cliprect)
Combines the initital clipping rectangle with the current clipping rectangle, returning the intersection.

Parameters:
cliprect - The clipping rectangle in window device coordinates.
Returns:
Returns the intersection of the current clip rect with the clippingBounds.

setClipRect

public void setClipRect(ChartRectangle3D rect)
Sets the current clipping rectangle in the current graphics context.

Parameters:
rect - The clipping rectangle in window device coordinates.

setClipRectX

public void setClipRectX(ChartRectangle3D cliprect)
Sets the current clipping rectangle in the current graphics context.

Parameters:
cliprect - The clipping rectangle in window device coordinates.

setClipRect

public void setClipRect(double x,
                        double y,
                        double z,
                        double w,
                        double h,
                        double d)
Sets the current clipping rectangle in the current graphics context.

Parameters:
x - The x-coordinate of the upper left value of the clipping rectangle.
y - The y-coordinate of the upper left value of the clipping rectangle.
z - The z-coordinate of the upper left value of the clipping rectangle.
w - The width of the clipping rectangle.
h - The height of the clipping rectangle.
d - The depth of the clipping rectangle.

getClipRect

public ChartRectangle3D getClipRect()
This method returns the current clipping rectangle of the current graphics context.

Returns:
Returns the current clipping rectangle.

setCurrentAttributes

public void setCurrentAttributes(ChartAttribute attrib)
Sets the current drawing attributes of the current graphics context.

Parameters:
attrib - A reference to an attribute object.

getCurrentAttributes

public ChartAttribute getCurrentAttributes()
This method returns a copy of the current drawing attributes for the class.

Returns:
Returns a copy of the current drawing attributes for the class.

setCurrentColor

public void setCurrentColor(java.awt.Color rgbcolor)
Sets the current drawing color of the graphics context.

Parameters:
rgbcolor - A reference to an color object.

getCurrentColor

public java.awt.Color getCurrentColor()
This method returns the current drawing color for the class.

Returns:
Returns a reference to the current drawing color for the class.

setUserViewport

public void setUserViewport(double x,
                            double y,
                            double z,
                            double w,
                            double h,
                            double d)
Sets the current drawing viewport using window device coordinates.

Parameters:
x - The x-coordinate of the upper left value of the viewport.
y - The y-coordinate of the upper left value of the viewport.
z - The z-coordinate of the upper left value of the viewport.
w - The width of the viewport.
h - The height of the viewport.
d - The depth of the viewport.

setUserViewport

public void setUserViewport(ChartRectangle3D rect)
Sets the current drawing viewport using window device coordinates.

Parameters:
rect - The user viewport in window device coordinates.

getUserViewport

public ChartRectangle3D getUserViewport()
This method returns the current drawing viewport.

Returns:
Returns the current drawing viewport.

convert3DPoint

public ChartPoint3D convert3DPoint(double x,
                                   double y,
                                   double z)
This methods transforms the 3D coordinates to a 2D projection.

Parameters:
x - The x-coordinate of the new drawing position.
y - The y-coordinate of the new drawing position.
z - The z-coordinate of the new drawing position.
Returns:
Returns the transformed object

convert3DRectangle

public ChartRectangle3D convert3DRectangle(ChartRectangle3D rect)
This methods transforms the 3D coordinates of a rectangle to a 2D projection.

Parameters:
rect - The source ChartRectangle3D object.
Returns:
Returns the transformed object

convert3DPoint

public ChartPoint3D convert3DPoint(ChartPoint3D pnt)
This methods sets transforms the 3D user coordinates to a 2D screen coordinate projection.

Parameters:
pnt - The sourc point object.
Returns:
Returns the transformed object

pMoveToAbs

public void pMoveToAbs(java.awt.geom.GeneralPath path,
                       double x,
                       double y,
                       double z)
This methods sets current drawing position of the specified path to the specified x-, y- and z-coordinates.

Parameters:
path - This path is updated with the new position.*
x - The x-coordinate of the new drawing position.
y - The y-coordinate of the new drawing position.
z - The z-coordinate of the new drawing position.

pMoveToAbs

public void pMoveToAbs(java.awt.geom.GeneralPath path,
                       ChartPoint3D p)
This methods sets current drawing position of the specified path to the specified x-, y-, and z-coordinates.

Parameters:
path - This path is updated with the new position.
p - The coordinates of the new drawing position.

pMoveRel

public void pMoveRel(java.awt.geom.GeneralPath path,
                     double x,
                     double y,
                     double z)
This method implements a relative move operation by adding the x, y and z values to the current drawing position of the specified path.

Parameters:
path - This path is updated with the new position.
x - The delta x-value added to the current x-coordinate drawing position.
y - The delta y-value added to the current y-coordinate drawing position.
z - The delta z-value added to the current z-coordinate drawing position.

pLineToAbs

public void pLineToAbs(java.awt.geom.GeneralPath path,
                       double x,
                       double y,
                       double z)
This method implements a lineto operation by drawing a line from the current location to the specified x-, y- and z-coordinates of the specified path. values to the current drawing position of the specified path.

Parameters:
path - A new line segment is added to this path.
x - The delta x-value added to the current x-coordinate drawing position.
y - The delta y-value added to the current y-coordinate drawing position.
z - The delta z-value added to the current z-coordinate drawing position.

pLineToAbs

public void pLineToAbs(java.awt.geom.GeneralPath path,
                       ChartPoint3D p1)
This method implements a lineto operation by drawing a line from the current location to the specified x-, y-, and z-coordinates of the specified path.

Parameters:
path - A new line segment is added to this path.
p1 - Draw a line to this point.

pLineAbs

public void pLineAbs(java.awt.geom.GeneralPath path,
                     double x1,
                     double y1,
                     double z1,
                     double x2,
                     double y2,
                     double z2)
This method adds a line segment with endpoints (x1,y1, z1)-(x2,y2, z2) to the specified path.

Parameters:
path - A new line segment is added to this path.
x1 - The starting x-coordinate value of the line segment.
y1 - The starting y-coordinate value of the line segment.
z1 - The starting z-coordinate value of the line segment.
x2 - The ending x-coordinate value of the line segment.
y2 - The ending y-coordinate value of the line segment.
z2 - The ending y-coordinate value of the line segment.

pLineAbs

public void pLineAbs(java.awt.geom.GeneralPath path,
                     ChartPoint3D p1,
                     ChartPoint3D p2)
This method adds a line segment with endpoints (x1,y1)-(x2,y2) to the specified path.

Parameters:
path - A new line segment is added to this path.
p1 - The starting value of the line segment.
p2 - The ending value of the line segment.

pLineRel

public void pLineRel(java.awt.geom.GeneralPath path,
                     double x,
                     double y,
                     double z)
This method implements a relative lineto operation by adding the x, y and z values to the current drawing position, and drawing a line from the old position to the new position.

Parameters:
path - A new line segment is added to this path.
x - The delta x-value used in the relative line to operation.
y - The delta y-value used in the relative line to operation.
z - The delta z-value used in the relative line to operation.

pRectangle

public void pRectangle(java.awt.geom.GeneralPath path,
                       ChartRectangle3D rect)
This method adds a rectangle shape to the specified path.

Parameters:
path - The line segments are added to this path.
rect - The rectangle added to the path.

pTriangle

public void pTriangle(java.awt.geom.GeneralPath path,
                      ChartRectangle3D rect,
                      int dir)
This method adds a triangle shape to the specified path.

Parameters:
path - The line segments are added to this path.
rect - The triangle is added to the path.
dir - Specify VERT_DIR or HORIZ_DIR.

pPolyLine

public void pPolyLine(java.awt.geom.GeneralPath path,
                      ChartPoint3D[] p,
                      int numdat)
This method adds multiple line segments to the specified path.

Parameters:
path - The line segments are added to this path.
p - An array, size numdat, of points defining the endpoints of the line segments that are added to the specified path.
numdat - The number of points in the array.

drawFillPath

public void drawFillPath(java.awt.Graphics2D g2,
                         java.awt.geom.GeneralPath path)
This method renders a closed polygon, contained in the specified path, using the current fill attributes.

Parameters:
g2 - A graphics context.
path - A closed polygon has been previously defined for this path.

drawFillCircle

public void drawFillCircle(java.awt.Graphics2D g2,
                           int x,
                           int y,
                           int radiusx,
                           int radiusy)
This method renders an ellipse, using the current fill attributes.

Parameters:
g2 - A graphics context.
x - x-position of circle center.
y - y-position of circle center.
radiusx - The radius of the x-coordinate.
radiusy - The radius of the y-coordinate.

drawPath

public void drawPath(java.awt.Graphics2D g2,
                     java.awt.geom.GeneralPath path)
This method renders a closed polygon, contained in the specified path, using the specified pen.

Parameters:
g2 - A graphics context.
path - A closed polygon has been previously defined for this path.

fillPath

public void fillPath(java.awt.Graphics2D g2,
                     java.awt.geom.GeneralPath path)
This method renders a closed polygon, contained in the specified path, using the specified pen.

Parameters:
g2 - A graphics context.
path - A closed polygon has been previously defined for this path.

startXORMode

public void startXORMode(ChartView canvas,
                         java.awt.Color framecolor,
                         int linestyle)
This method starts an XOR drawing mode for the window.

Parameters:
canvas - The ChartView object drawing takes place in.
framecolor - The drawing color.
linestyle - The drawing linestyle.

endXORMode

public void endXORMode(ChartView canvas)
This method ends an XOR drawing mode for the window.

Parameters:
canvas - The ChartView object drawing takes place in.

drawFillRectangle

public void drawFillRectangle(java.awt.Graphics2D g2,
                              ChartRectangle3D rect)
This method renders a rectangle using the current fill attributes.

Parameters:
g2 - A graphics context.
rect - A rectangle.

getStringX

public double getStringX(java.awt.Graphics2D g2,
                         java.lang.String s)
This method returns the bounding width of the specified string, rendered using the current font.

Parameters:
g2 - The graphics context.
s - The string used to calculate the bounding width.
Returns:
Returns the bounding width of the specified string.

getStringY

public double getStringY(java.awt.Graphics2D g2,
                         java.lang.String s)
This method returns the bounding height of the specified string, rendered using the current font.

Parameters:
g2 - The graphics context.
s - The string used to calculate the bounding height.
Returns:
Returns the bounding height of the specified string.

getStringRect

public ChartRectangle3D getStringRect(java.awt.Graphics2D g2,
                                      java.lang.String s)
This method returns the bounding box of the specified string, rendered using the current font.

Parameters:
g2 - The graphics context.
s - The string used to calculate the bounding height.
Returns:
Returns the bounding box of the specified string.

getStringAscent

public double getStringAscent(java.awt.Graphics2D g2,
                              java.lang.String s)
This method returns the ascent of the specified string, rendered using the current font.

Parameters:
g2 - The graphics context.
s - The string used to calculate the descent.
Returns:
Returns the ascent of the specified string.

getStringDescent

public double getStringDescent(java.awt.Graphics2D g2,
                               java.lang.String s)
This method returns the descent of the specified string, rendered using the current font.

Parameters:
g2 - The graphics context.
s - The string used to calculate the descent.
Returns:
Returns the descent of the specified string.

getStringDimension

public ChartDimension3D getStringDimension(java.awt.Graphics2D g2,
                                           java.lang.String s)
This method returns the bounding dimension of the specified string, rendered using the current font.

Parameters:
g2 - A graphics context.
s - The string used to calculate the bounding width.
Returns:
Returns the bounding dimension of the specified string.

getStringLeading

public double getStringLeading(java.awt.Graphics2D g2,
                               java.lang.String s)
This method returns the ascent of the specified string, rendered using the current font.

Parameters:
g2 - A graphics context. *
s - The string used to calculate the descent.
Returns:
Returns the ascent of the specified string.

getStringLineSpace

public double getStringLineSpace(java.awt.Graphics2D g2,
                                 java.lang.String s)
This method returns the line spacing of the specified string, rendered using the current font.

Parameters:
g2 - A graphics context. *
s - The string used to calculate the descent.
Returns:
Returns the line spacing of the specified string.

setCurrentFont

public void setCurrentFont(java.awt.Font font)
Sets the current font used in the rendering of text.

Parameters:
font - A reference to the font that is to be used as the current font.

getCurrentFont

public java.awt.Font getCurrentFont()
This method returns the current font used in the rendering of text.

Returns:
Returns a reference to the current font.

setPlaneColor

public void setPlaneColor(ChartPoint3D[] solid,
                          ChartAttribute attrib)
Sets the colors for drawing and filling a polygon.

Parameters:
solid - An array of Point3D objects, defining the polygon.
attrib - The polygon drawing attribute.

getUserCurrentPos

public ChartPoint3D getUserCurrentPos()
This method returns the current position, in window device coordinates, of the graphics pen.

Returns:
Returns the current position of the graphics pen.

getUserX1

public double getUserX1()
This method returns the lower left x-value, in window device coordinates, defining the current viewport.

Returns:
Returns the lower left x-value, in window device coordinates, defining the current viewport.

getUserY1

public double getUserY1()
This method returns the lower left y-value, in window device coordinates, defining the current viewport.

Returns:
Returns the lower left y-value, in window device coordinates, defining the current viewport.

getUserX2

public double getUserX2()
This method returns the upper right x-value, in window device coordinates, defining the current viewport.

Returns:
Returns the upper right x-value, in window device coordinates, defining the current viewport.

getUserY2

public double getUserY2()
This method returns the upper right y-value, in window device coordinates, defining the current viewport.

Returns:
Returns the upper right y-value, in window device coordinates, defining the current viewport.

setInitialClipRect

public static void setInitialClipRect(ChartRectangle3D r)
This method sets the intial clipping rectangle of the graphics context.

Parameters:
r - sets the intial clipping rectangle of the graphics context.

getInitialClipRect

public static ChartRectangle3D getInitialClipRect()
This method returns the intial clipping rectangle of the graphics context.

Returns:
Returns the intial clipping rectangle of the graphics context.

getTheTransform3D

public Transform3D getTheTransform3D()
Get the 3D transform object associated with this coordinate system.

Returns:
Returns the Transform3D object associated with the current coordinate system.

setTheTransform3D

public void setTheTransform3D(Transform3D value)
Set the 3D transform object associated with this coordinate system.

Parameters:
value - Set the 3D transform object associated with this coordinate system.

getPolygonBuffer

public PolygonList getPolygonBuffer()
Get the current polygon buffer as a PolygonList object.

Returns:
Returns the current polygon buffer as a PolygonList object.

setPolygonBuffer

public void setPolygonBuffer(PolygonList value)
Set the current polygon buffer as a PolygonList object.

Parameters:
value - Set the current polygon buffer as a PolygonList object.

getWireFrame

public boolean getWireFrame()
Get the current wire frame mode (true and no polygon fills are used in drawing.

Returns:
Returns the current wire frame mode (true and no polygon fills are used in drawing.

setWireFrame

public void setWireFrame(boolean value)
Set the current wire frame mode (true and no polygon fills are used in drawing.

Parameters:
value - Set the current wire frame mode (true and no polygon fills are used in drawing.

getLightingEnabled

public boolean getLightingEnabled()
Get the the light enabled flag. If false polygon colors do NOT take into account shading.

Returns:
Returns the the light enabled flag. If false polygon colors do NOT take into account shading.

setLightingEnabled

public void setLightingEnabled(boolean value)
Set the the light enabled flag. If false polygon colors do NOT take into account shading.

Parameters:
value - Set the the light enabled flag.

getUse3DRoutines

public boolean getUse3DRoutines()
Return true if the 3D transform is NOT the identity matrix, hence 3D drawing routines used.

Returns:
Return true if the 3D transform is NOT the identity matrix, hence 3D drawing routines used.