gov.sns.tools.plot
Class FunctionGraphsJPanel.graphLegend

java.lang.Object
  |
  +--gov.sns.tools.plot.FunctionGraphsJPanel.graphLegend
Enclosing class:
FunctionGraphsJPanel

protected class FunctionGraphsJPanel.graphLegend
extends java.lang.Object


Field Summary
protected  java.awt.Color backGroundColor
           
protected  java.awt.Color borderColor
           
protected  int[] dataIndA
           
protected  int nDataInd
           
protected  int POSITION_ARBITRARY
           
protected  int POSITION_BOTTOM_LEFT
           
protected  int POSITION_BOTTOM_RIGHT
           
protected  int POSITION_TOP_LEFT
           
protected  int POSITION_TOP_RIGHT
           
 
Constructor Summary
protected FunctionGraphsJPanel.graphLegend(FunctionGraphsJPanel fgp)
           
 
Method Summary
protected  void drawLegend(java.awt.Graphics2D g)
           
protected  java.lang.Integer getChoosenGraphIndex(int iX, int iY)
           
protected  boolean isInside(int iX, int iY)
           
protected  boolean isVisible()
           
protected  void memorizePosition()
           
protected  void movePosition(int iX, int iY)
           
protected  void setBackground(java.awt.Color cl)
           
protected  void setColor(java.awt.Color cl)
           
protected  void setFont(java.awt.Font font)
           
protected  void setKeyString(java.lang.String legendKeyString)
           
protected  void setPosition(int pos)
           
protected  void setPosition(int iX, int iY)
           
protected  void setVisible(boolean showLegend)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POSITION_ARBITRARY

protected int POSITION_ARBITRARY

POSITION_TOP_LEFT

protected int POSITION_TOP_LEFT

POSITION_TOP_RIGHT

protected int POSITION_TOP_RIGHT

POSITION_BOTTOM_LEFT

protected int POSITION_BOTTOM_LEFT

POSITION_BOTTOM_RIGHT

protected int POSITION_BOTTOM_RIGHT

backGroundColor

protected java.awt.Color backGroundColor

borderColor

protected java.awt.Color borderColor

dataIndA

protected int[] dataIndA

nDataInd

protected int nDataInd
Constructor Detail

FunctionGraphsJPanel.graphLegend

protected FunctionGraphsJPanel.graphLegend(FunctionGraphsJPanel fgp)
Method Detail

setKeyString

protected void setKeyString(java.lang.String legendKeyString)

setFont

protected void setFont(java.awt.Font font)

setColor

protected void setColor(java.awt.Color cl)

setBackground

protected void setBackground(java.awt.Color cl)

setVisible

protected void setVisible(boolean showLegend)

isVisible

protected boolean isVisible()

setPosition

protected void setPosition(int pos)

memorizePosition

protected void memorizePosition()

movePosition

protected void movePosition(int iX,
                            int iY)

setPosition

protected void setPosition(int iX,
                           int iY)

isInside

protected boolean isInside(int iX,
                           int iY)

getChoosenGraphIndex

protected java.lang.Integer getChoosenGraphIndex(int iX,
                                                 int iY)

drawLegend

protected void drawLegend(java.awt.Graphics2D g)