Package hec.gfx2d

Class Viewport

All Implemented Interfaces:
G2dEditComponent, G2dPointerComponent, G2dToolbarListener, G2dViewportEditComponent, G2dZoomComponent, ImageObserver, MenuContainer, Serializable, Observer, Accessible

2d graphics drawing region.
See Also:
  • Field Details

    • _markerLines

      protected Vector<G2dMarkerLine> _markerLines
    • _markerPoints

      protected Vector<G2dMarkerPoint> _markerPoints
    • _doubleBuffer

      protected BufferedImage _doubleBuffer
    • _dirtyBuffer

      protected boolean _dirtyBuffer
    • _isDoubleBuffer

      protected boolean _isDoubleBuffer
  • Constructor Details

    • Viewport

      public Viewport()
    • Viewport

      public Viewport(G2dPanel p)
      Default Constructor
  • Method Details

    • setTransferHandler

      public void setTransferHandler(TransferHandler newHandler)
      Overrides:
      setTransferHandler in class JComponent
    • addComponentLayer

      public void addComponentLayer(ViewportLayer<?> layer)
    • paintComponent

      protected void paintComponent(Graphics arg0)
      Overrides:
      paintComponent in class G2dComponent
    • addMouseListeners

      protected void addMouseListeners()
    • setDragEnabled

      public void setDragEnabled(boolean b)
    • isDragEnabled

      public boolean isDragEnabled()
    • setDoubleBuffered

      public void setDoubleBuffered(boolean b)
      Overrides:
      setDoubleBuffered in class JComponent
    • isDoubleBuffered

      public boolean isDoubleBuffered()
      Overrides:
      isDoubleBuffered in class JComponent
    • setDirty

      public void setDirty()
      Method that marks the viewport as dirty and needs to recompute its doubleBuffer
    • getToolTipText

      public String getToolTipText(MouseEvent e)
      Returns a tool tip text for the given mouse location. In this method we loop over the glyphs and see if they have any tool tips. The first one that has one is returned;
      Overrides:
      getToolTipText in class G2dComponent
    • createPopupMenu

      public void createPopupMenu()
      Overrides:
      createPopupMenu in class G2dComponent
    • createMenu

      protected void createMenu(Container c)
    • addXAxisMarker

      public void addXAxisMarker()
      Adds a Marker Line to the XAxis - Displays the Marker Line Properties for the user to edit the properties of the marker
    • addAxisMarker

      public void addAxisMarker(String txt, int axis)
      Adds a Marker Line to the specified Axis - displays a dialog for the user to enter the value for the marker.
    • addAxisMarkerPoint

      public void addAxisMarkerPoint()
      Adds a Marker Line to the specified Axis - displays a dialog for the user to enter the value for the marker.
    • addXAxisMarker

      public void addXAxisMarker(String value)
    • addYAxisMarker

      public void addYAxisMarker(String value)
    • addAxisMarker

      public void addAxisMarker(AxisMarkerDescription description)
    • removeGlyph

      public void removeGlyph(G2dGlyph g)
    • addXAxisMarker

      public void addXAxisMarker(double value)
    • addYAxisMarker

      public void addYAxisMarker()
      Adds a Marker Line to the YAxis - Displays the Marker Line Properties for the user to edit the properties of the marker
    • addAxisMarker

      public void addAxisMarker(G2dMarkerProperties prop)
      Creates a new Marker Line for the viewport by creating a glyph with the given Marker Properties.
      Parameters:
      prop - the properties to use to draw the marker line
    • addAxisPointMarker

      public void addAxisPointMarker(G2dMarkerPointProperties prop)
      Creates a new Marker Point for the viewport by creating a glyph with the given MarkerPoint Properties.
      Parameters:
      prop - the properties to use to draw the marker line
    • setAxisMarkers

      public void setAxisMarkers(List markers)
    • getAxisMarkers

      public List getAxisMarkers()
    • resetDataLimits

      public void resetDataLimits(Scale scl)
    • resetDataLimits

      public void resetDataLimits(Scale scl, boolean invalidateExtents)
    • resetAllDataLimits

      public void resetAllDataLimits()
      Resets all of the data limits to the bounds of the current data and grows the bounds if necessary
    • resetAllDataLimits

      public void resetAllDataLimits(boolean growRegionExtents)
      Resests all of the data limits to the bounds of the current data.
      Parameters:
      growRegionExtents - boolean true if the scale should grow to the larger extents, false if the scales should be set to the current bounds of the data.
    • clearPlot

      public void clearPlot()
    • clearPlot

      public void clearPlot(boolean reval)
    • findScale

      protected Scale findScale(G2dObject go)
    • addG2dObject

      public void addG2dObject(G2dObject obj)
      Adds a new G2dObject to the viewport
      Parameters:
      obj - the object to add and draw.
    • addG2dObject

      public void addG2dObject(G2dObject obj, Scale scl)
      Adds a new G2dObject to the viewport for drawing. A new glyph is created to hold the G2dObject and the glyph is added to the internal list of glyphs that are drawn when the paintGfx method is called.
      Parameters:
      obj - the object to add
      scl - the scale used to map the object data from world to local coordinates.
    • addG2dGlyph

      public void addG2dGlyph(G2dGlyph glyph)
    • addG2dGlyph

      public void addG2dGlyph(G2dGlyph glyph, Scale scl)
    • insertG2dGlyph

      public void insertG2dGlyph(G2dGlyph glyph, int ipos)
    • insertG2dGlyph

      public void insertG2dGlyph(G2dGlyph glyph, Scale scl, int ipos)
    • addG2dObject

      public void addG2dObject(G2dObject obj, Color lc, Color fc)
      Adds a G2dObject to the viewport. If a scale cannot be found for the G2dObject, the it is ignored.
      Parameters:
      obj - the data object to add
      lc - the line color used to draw the data line
      fc - the fill color used to draw the data line.
    • addG2dObject

      public void addG2dObject(G2dObject obj, Color lc, Color fc, Scale scl)
    • addG2dObject

      public void addG2dObject(G2dObject obj, G2dLineProperties lineProp)
    • addG2dObject

      public void addG2dObject(G2dObject obj, G2dLineProperties[] lineProp)
    • addG2dObject

      public void addG2dObject(G2dObject obj, G2dLineProperties lineProp, Scale scl)
    • addG2dObject

      public void addG2dObject(G2dObject obj, G2dLineProperties[] lineProp, Scale scl)
    • addG2dObjects

      public void addG2dObjects(List g2dObjects, List lineProperties)
    • addG2dObjects

      public void addG2dObjects(List g2dObjects, List lineProperties, boolean append)
      adds the list of g2dobjects to the viewport.
      Parameters:
      g2dObjects - List
      lineProperties - List
      append - boolean if true then appends to the end of the list. false prepends to the front of the list.
    • insertG2dObjects

      public void insertG2dObjects(List g2dObjects, List lineProperties, int insertPosition)
      adds the list of g2dobjects to the viewport.
      Parameters:
      g2dObjects - List
      lineProperties - List
    • getGlyphVector

      public Vector getGlyphVector()
      Description copied from interface: G2dViewportEditComponent
      Returns the list of glyphs used by this viewport
      Specified by:
      getGlyphVector in interface G2dEditComponent
      Specified by:
      getGlyphVector in interface G2dViewportEditComponent
    • update

      public void update(Observable o, Object arg)
      Observer method used to listen to changes in the Axis
      Specified by:
      update in interface Observer
      Parameters:
      o - the object that called the udate
      arg - an arguement that details why the update was called.
    • addScale

      public void addScale(Scale scl)
      Adds a new scale to the list of scale that this viewport owns.
      Parameters:
      scl - the scale to add. If null, it is ignored.
    • getScale

      public Scale getScale()
      Description copied from interface: G2dViewportEditComponent
      Returns the scale used by this component. Default is X1/Y1
      Specified by:
      getScale in interface G2dViewportEditComponent
      Returns:
    • getScale

      public Scale getScale(int i)
    • getScale

      public Scale getScale(String scaleName)
    • numScaleElements

      public int numScaleElements()
    • computeScaling

      public void computeScaling()
    • deleteMarkerLine

      public void deleteMarkerLine(G2dMarkerLine line)
    • deleteMarkerPoint

      public void deleteMarkerPoint(G2dMarkerPoint markerPoint)
      Parameters:
      markerPoint -
    • deleteAllMarkerLines

      public void deleteAllMarkerLines()
    • deleteAllMarkerPoints

      public void deleteAllMarkerPoints()
    • drawMarkers

      public void drawMarkers(Graphics g)
    • getVisibleArea

      public Rectangle getVisibleArea()
    • addGraphLabelItem

      public void addGraphLabelItem(GfxTextObject textobj)
      Adds a feature to the MapTextObject attribute of the MapCanvas object
      Parameters:
      textobj - The feature to be added to the MapTextObject attribute
    • setLegendRenderer

      public void setLegendRenderer(ViewportLegendRenderer renderer)
      Sets the legened renderer. The renderer is responsible for drawing a customized legened on the viewport. Users may set their own renderer here if the "DefaultLegenedRenderer" is not suitable for their needs.
      Parameters:
      renderer -
    • paintGfx2

      public void paintGfx2(Graphics g)
      Draw viewport background and all glyphs
      Parameters:
      g - the graphics context to paint to.
    • zoomIn

      public void zoomIn(LocalRect rc)
      Description copied from interface: G2dZoomComponent
      Sets the bounds of the new zoom region
      Specified by:
      zoomIn in interface G2dZoomComponent
      Parameters:
      rc - - the rectangle of the new zoom area in local coordinates
    • scaleAxisFromOpposite

      public void scaleAxisFromOpposite(String axisName)
      Causes the specified axis to be scaled such that the interval between the major tic marks follows the 1-2-5 rule and that the axis values at the major tic marks are whole multiples of the interval. The interval and tic mark values of the opposite axis are not changed.
      Parameters:
      axisName - The name of the axis to scale ("X1", "X2", "Y1", or "Y2").
    • zoomByFactor

      public void zoomByFactor(double factor)
      Description copied from interface: G2dZoomComponent
      Defines a new zoom region by a given factor
      Specified by:
      zoomByFactor in interface G2dZoomComponent
    • updateRatingAxisValues

      public void updateRatingAxisValues()
    • setBounds

      public void setBounds(int x, int y, int w, int h)
      Overrides:
      setBounds in class Component
    • setGridColor

      public void setGridColor(String colorString)
      set the X and Y grids to color specified by colorString
      Parameters:
      colorString - the color to set the grids to
    • setGridColor

      public void setGridColor(Color c)
      set the X and Y grids to color specified by color
      Parameters:
      c - the color to set the X and Y grids to
    • setGridYColor

      public void setGridYColor(String colorString)
      set the major and minor Y grids to colorString
      Parameters:
      colorString - the color to set the Y grids to
    • setGridYColor

      public void setGridYColor(Color c)
      set the major and minor Y grids to color
      Parameters:
      c - the color to set the Y grids to
    • setGridXColor

      public void setGridXColor(String colorString)
      set the major and minor X grids to colorString
      Parameters:
      colorString - the color to set the X grids to
    • setGridXColor

      public void setGridXColor(Color c)
      set the major and minor X grids to color
      Parameters:
      c - the color to set the X grids to
    • getMajorGridXColor

      public Color getMajorGridXColor()
    • getMajorGridYColor

      public Color getMajorGridYColor()
    • setMajorGridYColor

      public void setMajorGridYColor(String majorGridYColor)
      set the major Grid Y color for this Viewport
      Parameters:
      majorGridYColor - the grid color
    • getMajorGridYColorString

      public String getMajorGridYColorString()
      get the major grid Y color for this Viewport as a String
      Returns:
      the major grid Y color String
    • setMinorGridYColor

      public void setMinorGridYColor(String minorGridYColor)
      set the minor grid Y color for this Viewport
      Parameters:
      minorGridYColor - the grid color
    • getMinorGridYColor

      public Color getMinorGridYColor()
      get the minor grid Y color for this Viewport as a Color
      Returns:
      the minor grid Y color Color
    • getMinorGridYColorString

      public String getMinorGridYColorString()
      get the minor grid Y color for this Viewport as a String
      Returns:
      the minor grid Y color String
    • setMajorGridXColor

      public void setMajorGridXColor(String majorGridXColor)
      set the major grid X color for this Viewport
      Parameters:
      majorGridXColor - the grid color
    • getMajorGridXColorString

      public String getMajorGridXColorString()
      get the major grid X color for this Viewport as a String
      Returns:
      the major grid X color String
    • setMinorGridXColor

      public void setMinorGridXColor(String minorGridXColor)
      set the minor grid X color for this Viewport
      Parameters:
      minorGridXColor - the grid color
    • getMinorGridXColor

      public Color getMinorGridXColor()
      get the minor grid X color for this Viewport as a Color
      Returns:
      the minor grid X color Color
    • getMinorGridXColorString

      public String getMinorGridXColorString()
      get the minor grid X color for this Viewport as a String
      Returns:
      the minor grid X color String
    • setMajorGridXVisible

      public void setMajorGridXVisible(boolean draw)
      set the major X grid draw state for this Viewport
    • isMajorGridXVisible

      public boolean isMajorGridXVisible()
      return whether the Major X Grid is Drawn
      Returns:
      whether the Major X Grid is Drawn
    • setMajorGridYVisible

      public void setMajorGridYVisible(boolean draw)
      set the major X grid draw state for this Viewport
    • isMajorGridYVisible

      public boolean isMajorGridYVisible()
      return whether the Major Y Grid is Drawn
      Returns:
      whether the Major Y Grid is Drawn
    • setMinorGridXVisible

      public void setMinorGridXVisible(boolean draw)
      set the minor X grid draw state for this Viewport
      Parameters:
      draw - true draw, false do not draw
    • isMinorGridXVisible

      public boolean isMinorGridXVisible()
      return whether the Minor X Grid is Drawn
      Returns:
      whether the Minor X Grid is Drawn
    • setMinorGridYVisible

      public void setMinorGridYVisible(boolean draw)
      set the minor Y grid draw state for this Viewport
      Parameters:
      draw - true draw, false do not draw
    • isMinorGridYVisible

      public boolean isMinorGridYVisible()
      return whether the Minor Y Grid is Drawn
      Returns:
      whether the Minor Y Grid is Drawn
    • setMajorGridXWidth

      public void setMajorGridXWidth(float gridLineWidth)
      set the major X Grid width for this Viewport
      Parameters:
      gridLineWidth - the grid line width
    • getMajorGridXWidth

      public float getMajorGridXWidth()
      return the Major X Grid Width for this Viewport
      Returns:
      the major X grid width
    • setMajorGridYWidth

      public void setMajorGridYWidth(float gridLineWidth)
      set the major Y Grid width for this Viewport
      Parameters:
      gridLineWidth - the grid line width
    • getMajorGridYWidth

      public float getMajorGridYWidth()
      return the Major Y Grid Width for this Viewport
      Returns:
      the major Y grid width
    • setMinorGridXWidth

      public void setMinorGridXWidth(float gridLineWidth)
      set the minor X Grid width for this Viewport
      Parameters:
      gridLineWidth - the grid line width
    • getMinorGridXWidth

      public float getMinorGridXWidth()
      return the Minor X Grid Width for this Viewport
      Returns:
      the minor X grid width
    • setMinorGridYWidth

      public void setMinorGridYWidth(float gridLineWidth)
      set the minor Y Grid width for this Viewport
      Parameters:
      gridLineWidth - the grid line width
    • getMinorGridYWidth

      public float getMinorGridYWidth()
      return the Minor Y Grid Width for this Viewport
      Returns:
      the minor Y grid width
    • setMajorGridXStyle

      public void setMajorGridXStyle(String majorGridXStyle)
      set the major grid X style for this Viewport
      Parameters:
      majorGridXStyle - the grid style
    • getMajorGridXStyleString

      public String getMajorGridXStyleString()
      get the major grid X style for this Viewport as a String
      Returns:
      the major grid X style String
    • setMajorGridYStyle

      public void setMajorGridYStyle(String majorGridYStyle)
      set the major grid Y style for this Viewport
      Parameters:
      majorGridYStyle - the grid style
    • getMajorGridYStyleString

      public String getMajorGridYStyleString()
      get the major grid Y style for this Viewport as a String
      Returns:
      the major grid Y style String
    • setMinorGridXStyle

      public void setMinorGridXStyle(String minorGridXStyle)
      set the minor grid X style for this Viewport
      Parameters:
      minorGridXStyle - the grid style
    • getMinorGridXStyleString

      public String getMinorGridXStyleString()
      get the minor grid X style for this Viewport as a String
      Returns:
      the minor grid X style String
    • setMinorGridYStyle

      public void setMinorGridYStyle(String minorGridYStyle)
      set the minor grid Y style for this Viewport
      Parameters:
      minorGridYStyle - the grid style
    • getMinorGridYStyleString

      public String getMinorGridYStyleString()
      get the minor grid Y style for this Viewport as a String
      Returns:
      the minor grid Y style String
    • setBorderVisible

      public void setBorderVisible(boolean draw)
      set the border draw state for this Viewport
    • isBorderVisible

      public boolean isBorderVisible()
      return whether the border is drawn or not
      Returns:
      whether the border is drawn
    • setBorderWeight

      public void setBorderWeight(float borderWeight)
      set the border weight for this Viewport
      Parameters:
      borderWeight - the border weight
    • getBorderWeight

      public float getBorderWeight()
      get the border weight for this Viewport
      Returns:
      the border weight
    • getBorderColor

      public Color getBorderColor()
      get the border color for this Viewport as a Color
      Returns:
      the border color for this Viewport as a Color
    • getBorderColorString

      public String getBorderColorString()
      get the border color for this Viewport as a String
      Returns:
      the border color for this Viewport as a String
    • setBorderColor

      public void setBorderColor(String borderColor)
      set the border color for this Viewport
      Parameters:
      borderColor - the border color
      See Also:
    • setFillPattern

      public void setFillPattern(String pattern)
      set the fill pattern for this Viewport
      Parameters:
      pattern - the fill pattern
      See Also:
    • getFillPatternString

      public String getFillPatternString()
      get the Fill Pattern for this Viewport as a String
      Returns:
      the fill pattern string
      See Also:
    • setBackgroundVisible

      public void setBackgroundVisible(boolean draw)
      set the background draw state for this Viewport
    • isBackgroundVisible

      public boolean isBackgroundVisible()
      return whether the background is drawn or not
      Returns:
      whether the background is drawn or not
    • setAlpha

      public void setAlpha(float alpha)
    • getAlpha

      public float getAlpha()
    • setBackground

      public void setBackground(String colorString)
      set the background to the color specified by colorString
      Parameters:
      colorString - the string representation of a color. "red" or "255,255,0"
    • setBackground

      public void setBackground(Color c)
      set the background for this Viewport
      Overrides:
      setBackground in class JComponent
      Parameters:
      c - the background color
    • getBackground

      public Color getBackground()
      Overrides:
      getBackground in class Component
    • getBackgroundString

      public String getBackgroundString()
      get the background color for this Viewport as a String
      Returns:
      the background color string
    • getGlyphAtPoint

      public G2dGlyph getGlyphAtPoint(LocalPt pt)
    • objectPopupMenu

      public boolean objectPopupMenu(LocalPt pt, int modifiers)
      Shows the popupmenu for the viewport if the viewport has some item of interest at a given point.
      Specified by:
      objectPopupMenu in interface G2dEditComponent
      Specified by:
      objectPopupMenu in interface G2dPointerComponent
      Overrides:
      objectPopupMenu in class G2dComponent
      Parameters:
      pt - the place where the popup menu should be displayed
      modifiers - these are the modifiers from the original mouse click
      Returns:
      true if the menu was shown, otherwise false.
    • pointerOver

      public void pointerOver(LocalPt pt)
      Description copied from interface: G2dPointerComponent
      Method called when the pointer is over a given point
      Specified by:
      pointerOver in interface G2dEditComponent
      Specified by:
      pointerOver in interface G2dPointerComponent
      Overrides:
      pointerOver in class G2dComponent
      Parameters:
      pt - - the point in which the pointer is over
    • objectSelect

      public boolean objectSelect(LocalPt pt, int modifiers)
      Description copied from interface: G2dPointerComponent
      Method called on left mouse click.
      Specified by:
      objectSelect in interface G2dPointerComponent
      Parameters:
      pt - the point to place the popup menu;
      modifiers - mouse modifiers that were recieved by the mouse adapter that may be usefull here.
      Returns:
      true if the object select event was accepted and consumed otherwise false.
    • clearSelection

      public void clearSelection()
      Notify glyphs to clear their selection list because the mouse adaptor has changed
    • setMouseAdapter

      public G2dMouseAdapter setMouseAdapter(G2dMouseAdapter adapter)
      Description copied from class: G2dComponent
      Sets the mouse adapter for the component to the given mouse adapter. The component must implement the interface for that specific mouse adapter otherwise the adapter is ignored.
      Specified by:
      setMouseAdapter in interface G2dToolbarListener
      Overrides:
      setMouseAdapter in class G2dComponent
    • setDrawViewportLegend

      public void setDrawViewportLegend(boolean draw)
    • getDrawViewportLegend

      public boolean getDrawViewportLegend()
    • setLegendAlignment

      public void setLegendAlignment(String align)
    • setProperties

      public void setProperties(ViewportDrawProp prop)
    • getProperties

      public ViewportDrawProp getProperties()
      Returns the properties that define this viewport
    • editProperties

      public void editProperties()
      Overrides:
      editProperties in class G2dComponent
    • addObjectSelectionListener

      public void addObjectSelectionListener(ObjectSelectionListener l)
    • fireObjectSelectionChanged

      public void fireObjectSelectionChanged(ObjectSelectionEvent event)
    • getMasterAxis

      public Axis getMasterAxis(int axisType)
    • setMasterAxisTable

      public void setMasterAxisTable(Hashtable table)
    • setMasterAxis

      public void setMasterAxis(int axisType, Axis axis)
    • isFocusTraversable

      public boolean isFocusTraversable()
      Overrides:
      isFocusTraversable in class Component
    • isRequestFocusEnabled

      public boolean isRequestFocusEnabled()
      Overrides:
      isRequestFocusEnabled in class JComponent
    • addFocusListener

      public void addFocusListener(FocusListener fl)
      Overrides:
      addFocusListener in class Component
    • removeFocusListener

      public void removeFocusListener(FocusListener fl)
      Overrides:
      removeFocusListener in class Component
    • toString

      public String toString()
      Overrides:
      toString in class Component
    • getAxisLabel

      public AxisLabel getAxisLabel(String axisName)
      get the AxisLabel for the axis specified by axisName for this Viewport
      Parameters:
      axisName - the axis name. a case insensitive string of containing one of four values "x1", "x2", "y1" or "y2"
      Returns:
      the AxisLabel or null if the axis doesn't exist or axisName is invalid
    • getAxisTics

      public AxisTics getAxisTics(String axisName)
      get the AxisTics for the axis specified by axisName for this Viewport
      Parameters:
      axisName - the axis name. a case insensitive string of containing one of four values "x1", "x2", "y1" or "y2"
      Returns:
      the AxisTics or null if the axis doesn't exist or axisName is invalid
    • setLinear

      public void setLinear(String axisName)
    • setLogarithmic

      public void setLogarithmic(String axisName)
    • getAxis

      public Axis getAxis(String axisName)
      get the Axis specified by axisName for this Viewport
      Parameters:
      axisName - the axis name. a case insensitive string of containing one of four values "x1", "x2", "y1" or "y2"
      Returns:
      the Axis or null if the axis doesn't exist or axisName is invalid
    • getScaleVector

      public Vector getScaleVector()
      get the Vector of Scales
      Returns:
      the Scale Vector
    • setShowStatistics

      public void setShowStatistics(boolean showstats)
    • isShowingStatistics

      public boolean isShowingStatistics()
    • containsStatistics

      public boolean containsStatistics()
    • getGridColorX

      @Deprecated public Color getGridColorX()
      Deprecated.
    • getGridColorY

      @Deprecated public Color getGridColorY()
      Deprecated.
    • getGridXColorString

      @Deprecated public String getGridXColorString()
      Deprecated.
    • getGridYColorString

      @Deprecated public String getGridYColorString()
      Deprecated.
    • setGridColorY

      @Deprecated public void setGridColorY(Color c)
      Deprecated.
    • setGridColorX

      @Deprecated public void setGridColorX(Color c)
      Deprecated.
    • setDrawMajorXGridOn

      @Deprecated public void setDrawMajorXGridOn()
      Deprecated.
    • setDrawMajorXGridOff

      @Deprecated public void setDrawMajorXGridOff()
      Deprecated.
    • isMajorGridXDrawn

      @Deprecated public boolean isMajorGridXDrawn()
      Deprecated.
    • setDrawMajorYGridOn

      @Deprecated public void setDrawMajorYGridOn()
      Deprecated.
    • setDrawMajorYGridOff

      @Deprecated public void setDrawMajorYGridOff()
      Deprecated.
    • isMajorGridYDrawn

      @Deprecated public boolean isMajorGridYDrawn()
      Deprecated.
    • setDrawMinorXGridOn

      @Deprecated public void setDrawMinorXGridOn()
      Deprecated.
    • setDrawMinorXGridOff

      @Deprecated public void setDrawMinorXGridOff()
      Deprecated.
    • isMinorGridXDrawn

      @Deprecated public boolean isMinorGridXDrawn()
      Deprecated.
    • setDrawMinorYGridOn

      @Deprecated public void setDrawMinorYGridOn()
      Deprecated.
    • setDrawMinorYGridOff

      @Deprecated public void setDrawMinorYGridOff()
      Deprecated.
    • isMinorGridYDrawn

      @Deprecated public boolean isMinorGridYDrawn()
      Deprecated.
    • setMajorXGridWidth

      @Deprecated public void setMajorXGridWidth(float gridLineWidth)
      Deprecated.
    • getMajorXGridWidth

      @Deprecated public float getMajorXGridWidth()
      Deprecated.
    • setMajorYGridWidth

      @Deprecated public void setMajorYGridWidth(float gridLineWidth)
      Deprecated.
    • getMajorYGridWidth

      @Deprecated public float getMajorYGridWidth()
      Deprecated.
    • setMinorXGridWidth

      @Deprecated public void setMinorXGridWidth(float gridLineWidth)
      Deprecated.
    • getMinorXGridWidth

      @Deprecated public float getMinorXGridWidth()
      Deprecated.
    • setMinorYGridWidth

      @Deprecated public void setMinorYGridWidth(float gridLineWidth)
      Deprecated.
    • getMinorYGridWidth

      @Deprecated public float getMinorYGridWidth()
      Deprecated.
    • setDrawBorderOn

      @Deprecated public void setDrawBorderOn()
      Deprecated.
    • setDrawBorderOff

      @Deprecated public void setDrawBorderOff()
      Deprecated.
    • isBorderDrawn

      @Deprecated public boolean isBorderDrawn()
      Deprecated.
    • setDrawBackgroundOn

      @Deprecated public void setDrawBackgroundOn()
      Deprecated.
    • setDrawBackgroundOff

      @Deprecated public void setDrawBackgroundOff()
      Deprecated.
    • isBackgroundDrawn

      @Deprecated public boolean isBackgroundDrawn()
      Deprecated.
    • getGlyphForObject

      public G2dGlyph getGlyphForObject(G2dObject g2dObj)
    • setDrawLegend

      public void setDrawLegend(boolean draw)