|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.awt.Component
java.awt.Canvas
gui.BasicViewCanvas
rankine.RankineCycleCanvas
public class RankineCycleCanvas
ランキンサイクル表示キャンバス
入れ子のクラスの概要 |
---|
クラス java.awt.Canvas から継承された入れ子のクラス/インタフェース |
---|
java.awt.Canvas.AccessibleAWTCanvas |
クラス java.awt.Component から継承された入れ子のクラス/インタフェース |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
フィールドの概要 | |
---|---|
protected java.awt.Color |
bgColor
背景色 |
protected RankineCycle |
cycle
ランキンサイクル |
protected java.awt.Color |
fgColor
前景色 |
protected java.awt.Font |
font
フォント |
protected TextBox |
infoBox
情報テキストボックス |
protected java.lang.String |
message
エラーメッセージ |
protected GraphWindow |
pvWindow
P-V 線図 |
protected java.awt.Color |
subColor
薄い色 |
protected GraphWindow |
tsWindow
T-S 線図 |
クラス gui.BasicViewCanvas から継承されたフィールド |
---|
bg, bgImage, panelSize |
クラス 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 |
コンストラクタの概要 | |
---|---|
RankineCycleCanvas(RankineCycle cycle,
java.lang.String message,
java.awt.Font font,
java.awt.Color bgColor,
java.awt.Color fgColor,
java.awt.Color subColor)
地図表示キャンバスを構築する |
メソッドの概要 | |
---|---|
protected void |
drawErrorMessage(java.awt.Graphics2D g,
java.lang.String message)
エラーメッセージを表示する |
RankineCycle |
getRankineCycle()
ランキンサイクルを返す |
void |
paint(java.awt.Graphics g)
描画する |
protected void |
paintGraph(java.awt.Graphics2D g)
グラフを描画する |
protected void |
setColors(java.awt.Color bgColor,
java.awt.Color fgColor,
java.awt.Color subColor)
表示色を設定する |
void |
setGraphData()
グラフデータを設定する |
void |
setMessage(java.lang.String message)
エラーメッセージを設定する |
protected void |
setPaint()
画面の設定をする |
void |
update(java.awt.Graphics g)
再描画する |
クラス java.awt.Canvas から継承されたメソッド |
---|
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy |
クラス java.awt.Component から継承されたメソッド |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
protected RankineCycle cycle
protected java.lang.String message
protected java.awt.Color bgColor
protected java.awt.Color fgColor
protected java.awt.Color subColor
protected java.awt.Font font
protected GraphWindow pvWindow
protected GraphWindow tsWindow
protected TextBox infoBox
コンストラクタの詳細 |
---|
public RankineCycleCanvas(RankineCycle cycle, java.lang.String message, java.awt.Font font, java.awt.Color bgColor, java.awt.Color fgColor, java.awt.Color subColor)
cycle
- ランキンサイクルmessage
- エラーメッセージfont
- フォントbgColor
- 背景色fgColor
- 前景色subColor
- 薄い色メソッドの詳細 |
---|
protected void setColors(java.awt.Color bgColor, java.awt.Color fgColor, java.awt.Color subColor)
bgColor
- 背景色fgColor
- 前景色subColor
- 薄い色public void setMessage(java.lang.String message)
message
- エラーメッセージpublic RankineCycle getRankineCycle()
public void setGraphData()
public void update(java.awt.Graphics g)
java.awt.Canvas
内の update
g
- 描画するグラフィックスコンテキストpublic void paint(java.awt.Graphics g)
java.awt.Canvas
内の paint
g
- 描画するグラフィックスコンテキストprotected void setPaint()
BasicViewCanvas
内の setPaint
protected void paintGraph(java.awt.Graphics2D g)
g
- 描画するグラフィックスコンテキストprotected void drawErrorMessage(java.awt.Graphics2D g, java.lang.String message)
BasicViewCanvas
内の drawErrorMessage
g
- 描画するグラフィックスコンテキストmessage
- エラーメッセージ
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |