|
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.jfree.chart.axis.Axis
org.jfree.chart.axis.CategoryAxis
org.opengion.hayabusa.io.HybsCategoryAxis
public class HybsCategoryAxis
HybsCategoryAxis は、CategoryAxis クラスを継承した、横軸管理クラスです。 横軸ラベルの表示制御を、主に行っています。 横軸表示には、3つの制御機能がカスタマイズされています。 1."_" ラベルのスキップ(非表示) 2.cutNo 属性による、ラベル文字位置指定のキーブレイク 3.skip 属性による、ラベルをスキップする間隔の指定 上記、1,2,3 の順番で優先的に処理されます。
フィールドの概要 |
---|
クラス org.jfree.chart.axis.CategoryAxis から継承されたフィールド |
---|
DEFAULT_AXIS_MARGIN, DEFAULT_CATEGORY_MARGIN |
クラス org.jfree.chart.axis.Axis から継承されたフィールド |
---|
DEFAULT_AXIS_LABEL_FONT, DEFAULT_AXIS_LABEL_INSETS, DEFAULT_AXIS_LABEL_PAINT, DEFAULT_AXIS_LINE_PAINT, DEFAULT_AXIS_LINE_STROKE, DEFAULT_AXIS_VISIBLE, DEFAULT_TICK_LABEL_FONT, DEFAULT_TICK_LABEL_INSETS, DEFAULT_TICK_LABEL_PAINT, DEFAULT_TICK_LABELS_VISIBLE, DEFAULT_TICK_MARK_INSIDE_LENGTH, DEFAULT_TICK_MARK_OUTSIDE_LENGTH, DEFAULT_TICK_MARK_PAINT, DEFAULT_TICK_MARK_STROKE, DEFAULT_TICK_MARKS_VISIBLE |
コンストラクタの概要 | |
---|---|
|
HybsCategoryAxis(String label)
Creates a new category axis with no label. |
protected |
HybsCategoryAxis(String label,
int skip,
int cutNo)
Constructs a category axis, using default values where necessary. |
メソッドの概要 | |
---|---|
protected org.jfree.text.TextBlock |
createLabel(Comparable category,
float width,
org.jfree.ui.RectangleEdge edge,
Graphics2D g2)
Creates a label. |
boolean |
equals(Object obj)
Tests this axis for equality with an arbitrary object. |
double |
getCategoryJava2DCoordinate(org.jfree.chart.axis.CategoryAnchor anchor,
int category,
int categoryCount,
Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
ドメイン(横軸)のカテゴリ単位のライン(縦線)の描画位置を返します。 |
int |
hashCode()
Returns a hash code for this object. |
protected boolean |
isLabelBreak(int column)
ラベルブレイクするかどうかを返します。 |
protected boolean |
isViewItemLabel(int column)
ITEM ラベル(各データの設定値の説明用の値)を表示するかどうかを返します。 |
List |
refreshTicks(Graphics2D g2,
org.jfree.chart.axis.AxisState state,
Rectangle2D dataArea,
org.jfree.ui.RectangleEdge edge)
Creates a temporary list of ticks that can be used when drawing the axis. |
protected void |
setItemLabelLastVisible(boolean flag)
itemLabelVisible 時に、最後の値のみ表示するかどうかを指定します。 |
クラス org.jfree.chart.axis.CategoryAxis から継承されたメソッド |
---|
addCategoryLabelToolTip, calculateCategoryGapSize, calculateCategorySize, calculateTextBlockHeight, calculateTextBlockWidth, clearCategoryLabelToolTips, clone, configure, draw, drawCategoryLabels, drawCategoryLabels, getCategoryEnd, getCategoryLabelPositionOffset, getCategoryLabelPositions, getCategoryLabelToolTip, getCategoryMargin, getCategoryMiddle, getCategoryMiddle, getCategorySeriesMiddle, getCategoryStart, getLowerMargin, getMaximumCategoryLabelLines, getMaximumCategoryLabelWidthRatio, getTickLabelFont, getTickLabelPaint, getUpperMargin, removeCategoryLabelToolTip, reserveSpace, setCategoryLabelPositionOffset, setCategoryLabelPositions, setCategoryMargin, setLowerMargin, setMaximumCategoryLabelLines, setMaximumCategoryLabelWidthRatio, setTickLabelFont, setTickLabelPaint, setUpperMargin |
クラス org.jfree.chart.axis.Axis から継承されたメソッド |
---|
addChangeListener, drawAxisLine, drawLabel, getAxisLinePaint, getAxisLineStroke, getFixedDimension, getLabel, getLabelAngle, getLabelEnclosure, getLabelFont, getLabelInsets, getLabelPaint, getPlot, getTickLabelFont, getTickLabelInsets, getTickLabelPaint, getTickMarkInsideLength, getTickMarkOutsideLength, getTickMarkPaint, getTickMarkStroke, hasListener, isAxisLineVisible, isTickLabelsVisible, isTickMarksVisible, isVisible, notifyListeners, removeChangeListener, setAxisLinePaint, setAxisLineStroke, setAxisLineVisible, setFixedDimension, setLabel, setLabelAngle, setLabelFont, setLabelInsets, setLabelInsets, setLabelPaint, setPlot, setTickLabelFont, setTickLabelInsets, setTickLabelPaint, setTickLabelsVisible, setTickMarkInsideLength, setTickMarkOutsideLength, setTickMarkPaint, setTickMarkStroke, setTickMarksVisible, setVisible |
クラス java.lang.Object から継承されたメソッド |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public HybsCategoryAxis(String label)
protected HybsCategoryAxis(String label, int skip, int cutNo)
label
- String the axis label (null
permitted).skip
- int ラベルの表示間隔cutNo
- int ラベルブレイクのsubstring 位置4.1.1.0 (2008/02/04) cutNo 新規追加 |
メソッドの詳細 |
---|
protected void setItemLabelLastVisible(boolean flag)
flag
- boolean4.1.2.0 (2008/03/12) 新規追加 |
public List refreshTicks(Graphics2D g2, org.jfree.chart.axis.AxisState state, Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge)
org.jfree.chart.axis.CategoryAxis
内の refreshTicks
g2
- the graphics device (used to get font measurements).state
- the axis state.dataArea
- the area inside the axes.edge
- the location of the axis.
4.1.1.0 (2008/02/04) labelBreak 新規追加 |
protected org.jfree.text.TextBlock createLabel(Comparable category, float width, org.jfree.ui.RectangleEdge edge, Graphics2D g2)
org.jfree.chart.axis.CategoryAxis
内の createLabel
category
- the category.width
- the available width.edge
- the edge on which the axis appears.g2
- the graphics device.
4.1.1.0 (2008/02/04) cutNo,labelBreak 追加 |
4.1.2.0 (2008/03/12) LabelVisible.UNDER 処理を追加 |
4.3.1.1 (2008/08/23) lbl の null参照はずしの対応 |
protected boolean isLabelBreak(int column)
column
- int
4.1.1.0 (2008/02/04) 新規追加 |
protected boolean isViewItemLabel(int column)
column
- int
4.1.2.0 (2008/03/12) 新規追加 |
public double getCategoryJava2DCoordinate(org.jfree.chart.axis.CategoryAnchor anchor, int category, int categoryCount, Rectangle2D area, org.jfree.ui.RectangleEdge edge)
org.jfree.chart.axis.CategoryAxis
内の getCategoryJava2DCoordinate
anchor
- the anchor point.category
- the category index.categoryCount
- the category count.area
- the data area.edge
- the location of the axis.
public boolean equals(Object obj)
org.jfree.chart.axis.CategoryAxis
内の equals
obj
- the object (null
permitted).
4.1.0.1(2008/01/19) 新規追加 |
public int hashCode()
org.jfree.chart.axis.CategoryAxis
内の hashCode
4.1.0.1(2008/01/19) 新規追加 |
|
openGion 5.1.4.0 | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |