Public Member Functions | |
void | addLegend (LegendInfo legend) |
Dimension | getMinimalSize () |
LegendPanel (Composite parent, Font font, Color backColor, Color labelColor) | |
void | paintControl (PaintEvent e) |
void | removeLegend (LegendInfo legend) |
void | setBackColor (Color color) |
void | setFont (Font font) |
void | setLabelColor (Color color) |
Private Member Functions | |
void | updateSize () |
Private Attributes | |
Color | backColor_ |
Font | font_ |
Color | labelColor_ |
ArrayList< LegendInfo > | legendList_ |
Dimension | size_ |
Static Private Attributes | |
static final int | GAP_X = 10 |
static final int | GAP_Y = 5 |
static final int | LEN_LINE = 20 |
static final int | MARGIN_X = 15 |
static final int | MARGIN_Y = 15 |
凡例パネルクラス
Definition at line 22 of file LegendPanel.java.
com.generalrobotix.ui.view.graph.LegendPanel.LegendPanel | ( | Composite | parent, |
Font | font, | ||
Color | backColor, | ||
Color | labelColor | ||
) | [inline] |
コンストラクタ
font | Font ラベルフォント |
backColor | Color 背景色 |
labelColor | Color ラベル色 |
Definition at line 49 of file LegendPanel.java.
void com.generalrobotix.ui.view.graph.LegendPanel.addLegend | ( | LegendInfo | legend | ) | [inline] |
Dimension com.generalrobotix.ui.view.graph.LegendPanel.getMinimalSize | ( | ) | [inline] |
必要十分サイズ取得 凡例を表示するのに必要十分なサイズを取得する (現時点では使用していない)
Definition at line 164 of file LegendPanel.java.
void com.generalrobotix.ui.view.graph.LegendPanel.paintControl | ( | PaintEvent | e | ) | [inline] |
void com.generalrobotix.ui.view.graph.LegendPanel.removeLegend | ( | LegendInfo | legend | ) | [inline] |
void com.generalrobotix.ui.view.graph.LegendPanel.setBackColor | ( | Color | color | ) | [inline] |
void com.generalrobotix.ui.view.graph.LegendPanel.setFont | ( | Font | font | ) | [inline] |
void com.generalrobotix.ui.view.graph.LegendPanel.setLabelColor | ( | Color | color | ) | [inline] |
void com.generalrobotix.ui.view.graph.LegendPanel.updateSize | ( | ) | [inline, private] |
サイズ更新 凡例の数や長さに応じてパネルのサイズを決定する
Definition at line 173 of file LegendPanel.java.
Color com.generalrobotix.ui.view.graph.LegendPanel.backColor_ [private] |
Definition at line 36 of file LegendPanel.java.
Font com.generalrobotix.ui.view.graph.LegendPanel.font_ [private] |
Definition at line 35 of file LegendPanel.java.
final int com.generalrobotix.ui.view.graph.LegendPanel.GAP_X = 10 [static, private] |
Definition at line 28 of file LegendPanel.java.
final int com.generalrobotix.ui.view.graph.LegendPanel.GAP_Y = 5 [static, private] |
Definition at line 29 of file LegendPanel.java.
Color com.generalrobotix.ui.view.graph.LegendPanel.labelColor_ [private] |
Definition at line 37 of file LegendPanel.java.
ArrayList<LegendInfo> com.generalrobotix.ui.view.graph.LegendPanel.legendList_ [private] |
Definition at line 34 of file LegendPanel.java.
final int com.generalrobotix.ui.view.graph.LegendPanel.LEN_LINE = 20 [static, private] |
Definition at line 30 of file LegendPanel.java.
final int com.generalrobotix.ui.view.graph.LegendPanel.MARGIN_X = 15 [static, private] |
Definition at line 26 of file LegendPanel.java.
final int com.generalrobotix.ui.view.graph.LegendPanel.MARGIN_Y = 15 [static, private] |
Definition at line 27 of file LegendPanel.java.
Dimension com.generalrobotix.ui.view.graph.LegendPanel.size_ [private] |
Definition at line 38 of file LegendPanel.java.