|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel jp.go.aist.dmrc.platform.beans.gui.chart.PFChart jp.go.aist.dmrc.platform.beans.gui.chart.PFCategoryChart jp.go.aist.dmrc.platform.beans.gui.chart.PFCandleChart
ろうそく足グラフのコンポーネント。
ろうそく足グラフから発生するイベントは以下のとおりです。
トリガー | 対象データ | イベント番号 |
---|---|---|
setObjectTable 呼出 | テーブルデータPFObjectTable |
0 |
clearObjectTable 呼出 | テーブルデータPFObjectTable |
1 |
トリガー | 対象データ | 更新データ | イベント番号 |
---|---|---|---|
メソッド呼出によって値が変更されたとき | テーブルデータPFObjectTable |
null | 1 |
マウス操作によって値が変更されたとき | テーブルデータPFObjectTable |
null | 0 |
トリガー | 対象データ | 選択データ | イベント番号 |
---|---|---|---|
メソッド呼出によってろうそくが選択されたとき | テーブルデータPFObjectTable |
null | 1 |
マウス操作によってろうそくが選択されたとき | テーブルデータPFObjectTable |
null | 0 |
トリガー | スクロール位置 | イベント番号 |
---|---|---|
項目軸のスクロールバーのノブ移動 | ノブの位置 int |
0 |
数値軸のスクロールバーのノブ移動 | ノブの位置 int |
1 |
入れ子クラスの概要 |
クラス javax.swing.JPanel から継承した入れ子クラス |
javax.swing.JPanel.AccessibleJPanel |
クラス javax.swing.JComponent から継承した入れ子クラス |
javax.swing.JComponent.AccessibleJComponent |
クラス java.awt.Container から継承した入れ子クラス |
java.awt.Container.AccessibleAWTContainer |
クラス java.awt.Component から継承した入れ子クラス |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
フィールドの概要 |
クラス jp.go.aist.dmrc.platform.beans.gui.chart.PFCategoryChart から継承したフィールド |
color, constraints, coordsystem, itemAxis, itemBar, model, numberAxis, numberBar, render |
クラス jp.go.aist.dmrc.platform.beans.gui.chart.PFChart から継承したフィールド |
chartArea, footer, header, itemColumnName, legend |
クラス javax.swing.JComponent から継承したフィールド |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
クラス java.awt.Component から継承したフィールド |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
インタフェース java.awt.image.ImageObserver から継承したフィールド |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
コンストラクタの概要 | |
PFCandleChart()
コンストラクタ。 |
メソッドの概要 | |
int |
getCandleWidthRatio()
データ1つ分が占める幅に対する、ろうそくの幅の割合を返す。 |
protected PFChartMenu |
getChartMenu()
ろうそく足グラフメニュークラスのインスタンスを返す。 |
java.math.BigDecimal |
getCloseValue(int series,
int item)
終値を返す。 |
java.lang.String |
getComponentName()
コンポーネント名を返す。 |
java.awt.Color |
getDownwardColor(int series)
データ下降時(始値>終値)のろうそくの色を返す。 |
java.math.BigDecimal |
getHighValue(int series,
int item)
高値を返す。 |
java.math.BigDecimal |
getLowValue(int series,
int item)
安値を返す。 |
PFObjectTable |
getObjectTable()
グラフのデータを共通プラットフォームのテーブル形式で返す。 |
java.math.BigDecimal |
getOpenValue(int series,
int item)
始値を返す。 |
int |
getSelectedSeriesIndexForObjectTable()
選択対象の系列インデックスを取得する。 |
java.awt.Color |
getUpwardColor(int series)
データ上昇時(始値≦終値)のろうそくの色を返す。 |
java.math.BigDecimal |
getValue(int series,
int item)
値を返す。 |
int |
getWickWidthRatio()
ろうそくの幅に対する、ろうそくの芯の太さの割合を返す。 |
protected void |
init()
初期化する。 |
void |
readXML(PFXMLLoader in)
コンポーネントのXML入力. |
void |
setCandleWidthRatio(int ratio)
データ1つ分が占める幅に対する、ろうそくの幅の割合を設定する。 |
void |
setCloseValue(java.math.BigDecimal closeValue,
int series,
int item)
終値を設定する。 |
void |
setDownwardColor(java.awt.Color color,
int series)
データ下降時(始値>終値)のろうそくの色を設定する。 |
void |
setHighValue(java.math.BigDecimal highValue,
int series,
int item)
高値を設定する。 |
void |
setLowValue(java.math.BigDecimal lowValue,
int series,
int item)
安値を設定する。 |
void |
setObjectTable(PFObjectTable data)
データを設定する。 |
void |
setOpenValue(java.math.BigDecimal openValue,
int series,
int item)
始値を設定する。 |
void |
setSelectedIndexForObjectTable(int series,
int item)
選択対象のインデックスを設定する。 |
void |
setUpwardColor(java.awt.Color color,
int series)
データ上昇時(始値≦終値)のろうそくの色を設定する。 |
void |
setValue(java.math.BigDecimal openValue,
java.math.BigDecimal highValue,
java.math.BigDecimal lowValue,
java.math.BigDecimal closeValue,
int series,
int item)
始値、高値、安値、終値をまとめて設定する。 |
void |
setValue(java.math.BigDecimal decimal,
int series,
int item)
値を設定する。 |
void |
setWickWidthRatio(int ratio)
ろうそくの幅に対する、ろうそくの芯の太さの割合を設定する。 |
void |
writeXML(PFXMLGenerator out)
コンポーネントのXML出力. |
クラス javax.swing.JPanel から継承したメソッド |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
クラス javax.swing.JComponent から継承したメソッド |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
クラス java.awt.Container から継承したメソッド |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
クラス java.awt.Component から継承したメソッド |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public PFCandleChart()
メソッドの詳細 |
public java.lang.String getComponentName()
PFComponent
内の getComponentName
protected void init()
PFCategoryChart
内の init
public PFObjectTable getObjectTable()
PFCategoryChart
内の getObjectTable
setObjectTable(PFObjectTable)
public void setObjectTable(PFObjectTable data) throws PFComponentException
(String) |
系列名0 (Object) |
(Object) |
(Object) |
(Object) |
系列名1 (Object) |
(Object) |
(Object) |
(Object) |
… |
---|---|---|---|---|---|---|---|---|---|
項目名0 | 始値00 | 高値00 | 安値00 | 終値00 | 始値01 | 高値01 | 安値01 | 終値01 | … |
項目名1 | 始値10 | 高値10 | 安値10 | 終値10 | 始値11 | 高値11 | 安値11 | 終値11 | … |
… | … | … | … | … | … | … | … | … | … |
PFCategoryChart
内の setObjectTable
data
- 共通プラットフォームのテーブル形式
PFComponentException
- ろうそく足グラフのデータとして適切でない場合などgetObjectTable()
public java.math.BigDecimal getOpenValue(int series, int item) throws PFComponentException
series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合setOpenValue(BigDecimal, int, int)
public void setOpenValue(java.math.BigDecimal openValue, int series, int item) throws PFComponentException
openValue
- 始値series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合
PFComponentException
- 始値/高値/安値/終値の整合性がとれなかった場合getOpenValue(int, int)
public java.math.BigDecimal getCloseValue(int series, int item) throws PFComponentException
series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合setCloseValue(BigDecimal, int, int)
public void setCloseValue(java.math.BigDecimal closeValue, int series, int item) throws PFComponentException
closeValue
- 終値series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合
PFComponentException
- 始値/高値/安値/終値の整合性がとれなかった場合getCloseValue(int, int)
public java.math.BigDecimal getHighValue(int series, int item) throws PFComponentException
series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合setHighValue(BigDecimal, int, int)
public void setHighValue(java.math.BigDecimal highValue, int series, int item) throws PFComponentException
highValue
- 高値series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合
PFComponentException
- 始値/高値/安値/終値の整合性がとれなかった場合getHighValue(int, int)
public java.math.BigDecimal getLowValue(int series, int item) throws PFComponentException
series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合setLowValue(BigDecimal, int, int)
public void setLowValue(java.math.BigDecimal lowValue, int series, int item) throws PFComponentException
lowValue
- 安値series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合
PFComponentException
- 始値/高値/安値/終値の整合性がとれなかった場合getLowValue(int, int)
public java.math.BigDecimal getValue(int series, int item) throws PFComponentException
PFCategoryChart
内の getValue
series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合PFCategoryChart.setValue(BigDecimal, int, int)
public void setValue(java.math.BigDecimal decimal, int series, int item) throws PFComponentException
PFCategoryChart
内の setValue
decimal
- 値series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合
PFComponentException
- 設定値に誤りがある場合PFCategoryChart.getValue(int, int)
public void setValue(java.math.BigDecimal openValue, java.math.BigDecimal highValue, java.math.BigDecimal lowValue, java.math.BigDecimal closeValue, int series, int item) throws PFComponentException
openValue
- 始値highValue
- 高値lowValue
- 安値closeValue
- 終値series
- 系列インデックスitem
- 項目インデックス
PFComponentException
- seriesまたはitemが適切でない場合
PFComponentException
- 始値/高値/安値/終値の整合性がとれなかった場合public int getCandleWidthRatio()
setCandleWidthRatio(int)
public void setCandleWidthRatio(int ratio) throws PFComponentException
ratio
- ろうそくの幅の割合
PFComponentException
- ratioが1〜100以外の場合getCandleWidthRatio()
public int getWickWidthRatio()
setWickWidthRatio(int)
public void setWickWidthRatio(int ratio) throws PFComponentException
ratio
- 芯の太さの割合
PFComponentException
- ratioが1〜100以外の場合getWickWidthRatio()
public java.awt.Color getUpwardColor(int series)
series
- 系列インデックス
setUpwardColor(Color, int)
public void setUpwardColor(java.awt.Color color, int series)
color
- ろうそくの色series
- 系列インデックスgetUpwardColor(int)
public java.awt.Color getDownwardColor(int series)
series
- 系列インデックス
setDownwardColor(Color, int)
public void setDownwardColor(java.awt.Color color, int series)
color
- ろうそくの色series
- 系列インデックスgetDownwardColor(int)
public int getSelectedSeriesIndexForObjectTable()
PFCategoryChart
内の getSelectedSeriesIndexForObjectTable
public void setSelectedIndexForObjectTable(int series, int item)
PFCategoryChart
内の setSelectedIndexForObjectTable
series
- 列インデックスitem
- 行インデックスprotected PFChartMenu getChartMenu()
PFCategoryChart
内の getChartMenu
public void readXML(PFXMLLoader in)
PFXMLSerializable
内の readXML
in
- XML入力ユーティリティpublic void writeXML(PFXMLGenerator out) throws java.io.IOException
PFXMLSerializable
内の writeXML
out
- XML出力ユーティリティ
java.io.IOException
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |