cloud
クラス CloudViewCanvas

java.lang.Object
  上位を拡張 java.awt.Component
      上位を拡張 java.awt.Canvas
          上位を拡張 gui.BasicViewCanvas
              上位を拡張 cloud.CloudViewCanvas
すべての実装されたインタフェース:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class CloudViewCanvas
extends BasicViewCanvas

電子雲表示キャンバス

関連項目:
直列化された形式

入れ子のクラスの概要
 
クラス java.awt.Canvas から継承された入れ子のクラス/インタフェース
java.awt.Canvas.AccessibleAWTCanvas
 
クラス java.awt.Component から継承された入れ子のクラス/インタフェース
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
フィールドの概要
static double A0
          Bohr 半径 (nm)
protected  Atom atom
          表示する原子
protected  java.awt.Color bgColor
          背景色
static java.lang.String CALC_MESSAGE
          計算中のメッセージ
protected  java.awt.Point center
          画面中心点座標
protected  DistributionFunction dfunc
          分布関数
static double DX
          x 座標の刻み幅
protected  java.awt.Color fgColor
          前景色
protected  java.awt.FontMetrics fm
          フォントメトリックス
protected static java.text.DecimalFormat FORM
          数値書式
protected  AtomInfo info
          原子情報
protected  java.lang.String message
          エラーメッセージ
static int N
          分布を計算するデータ点数
protected  int size
          画面サイズ
static double X_MAX
          x 座標の最大値
static double X_MIN
          x 座標の最小値
 
クラス 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
 
コンストラクタの概要
CloudViewCanvas(AtomInfo info, java.lang.String message)
          電子雲表示キャンバスを構築する
 
メソッドの概要
protected  void drawScale(java.awt.Graphics g)
          目盛を表示する
 void paint(java.awt.Graphics g)
          描画する
protected  void paintCloud(java.awt.Graphics g)
          電子雲を描画する
 void setAtom(AtomInfo info)
          描画する原子を設定する
protected  void setPaint()
          画面の設定をする
 void update(java.awt.Graphics g)
          再描画する
 
クラス gui.BasicViewCanvas から継承されたメソッド
drawErrorMessage
 
クラス 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, 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
 

フィールドの詳細

A0

public static final double A0
Bohr 半径 (nm)

関連項目:
定数フィールド値

N

public static final int N
分布を計算するデータ点数

関連項目:
定数フィールド値

X_MIN

public static final double X_MIN
x 座標の最小値

関連項目:
定数フィールド値

X_MAX

public static final double X_MAX
x 座標の最大値

関連項目:
定数フィールド値

DX

public static final double DX
x 座標の刻み幅

関連項目:
定数フィールド値

CALC_MESSAGE

public static final java.lang.String CALC_MESSAGE
計算中のメッセージ

関連項目:
定数フィールド値

FORM

protected static final java.text.DecimalFormat FORM
数値書式


size

protected int size
画面サイズ


center

protected java.awt.Point center
画面中心点座標


fm

protected java.awt.FontMetrics fm
フォントメトリックス


bgColor

protected java.awt.Color bgColor
背景色


fgColor

protected java.awt.Color fgColor
前景色


info

protected AtomInfo info
原子情報


atom

protected Atom atom
表示する原子


dfunc

protected DistributionFunction dfunc
分布関数


message

protected java.lang.String message
エラーメッセージ

コンストラクタの詳細

CloudViewCanvas

public CloudViewCanvas(AtomInfo info,
                       java.lang.String message)
電子雲表示キャンバスを構築する

パラメータ:
info - 原子情報
message - エラーメッセージ
メソッドの詳細

setAtom

public void setAtom(AtomInfo info)
描画する原子を設定する

パラメータ:
info - 原子情報

update

public void update(java.awt.Graphics g)
再描画する

オーバーライド:
クラス java.awt.Canvas 内の update
パラメータ:
g - 描画するグラフィックスコンテキスト

paint

public void paint(java.awt.Graphics g)
描画する

オーバーライド:
クラス java.awt.Canvas 内の paint
パラメータ:
g - 描画するグラフィックスコンテキスト

setPaint

protected void setPaint()
画面の設定をする

オーバーライド:
クラス BasicViewCanvas 内の setPaint

paintCloud

protected void paintCloud(java.awt.Graphics g)
電子雲を描画する

パラメータ:
g - 描画するグラフィックスコンテキスト

drawScale

protected void drawScale(java.awt.Graphics g)
目盛を表示する

パラメータ:
g - 描画するグラフィックスコンテキスト