org.boxed_economy.components.consecutiveexecuter
クラス ConsecutiveExecuteComponent

java.lang.Object
  拡張java.awt.Component
      拡張java.awt.Container
          拡張javax.swing.JComponent
              拡張javax.swing.JInternalFrame
                  拡張org.boxed_economy.besp.presentation.guifw.AbstractInternalFrameComponent
                      拡張org.boxed_economy.components.consecutiveexecuter.ConsecutiveExecuteComponent
すべての実装インタフェース:
javax.accessibility.Accessible, java.util.EventListener, GUIComponent, java.awt.image.ImageObserver, java.awt.MenuContainer, PresentationComponent, javax.swing.RootPaneContainer, java.io.Serializable, SimulationStateListener, UpdateEventDeliverer, javax.swing.WindowConstants

public abstract class ConsecutiveExecuteComponent
extends AbstractInternalFrameComponent
implements SimulationStateListener

バージョン:
$Id: ConsecutiveExecuteComponent.java,v 1.1 2004/03/21 12:07:48 macchan Exp $
作成者:
macchan
関連項目:
直列化された形式

入れ子クラスの概要
 
クラス javax.swing.JInternalFrame から継承した入れ子クラス
javax.swing.JInternalFrame.AccessibleJInternalFrame, javax.swing.JInternalFrame.JDesktopIcon
 
クラス 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
 
フィールドの概要
protected  javax.swing.JButton buttonRun
           
protected  javax.swing.JLabel labelName
           
protected  javax.swing.JLabel labelStatus
           
 
クラス javax.swing.JInternalFrame から継承したフィールド
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY
 
クラス 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
 
インタフェース javax.swing.WindowConstants から継承したフィールド
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
インタフェース java.awt.image.ImageObserver から継承したフィールド
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
コンストラクタの概要
ConsecutiveExecuteComponent()
           
 
メソッドの概要
protected  void executeWorld(java.lang.Class clazz, long step)
          World同期実行用
protected  void executeWorld(World world, long step)
           
protected abstract  java.lang.String getTitleName()
          オーバーライドすべきもの
 void initialize()
          初期化
protected abstract  void run()
           
protected  void showStatusMessage(java.lang.String message)
          ステータス表示用
 void simulationStarted(SimulationStateEvent ev)
          シミュレーションが開始されたことを通知します
 void simulationStopped(SimulationStateEvent ev)
          シミュレーションが停止されたことを通知します
 void simulationStopping(SimulationStateEvent ev)
          シミュレーションが停止処理にはいったことを通知します
 void terminate()
          このプレゼンテーションコンポーネントを終了します。
 
クラス org.boxed_economy.besp.presentation.guifw.AbstractInternalFrameComponent から継承したメソッド
addTradeListener, addUpdateAgentListener, addUpdateBehaviorListener, addUpdateChannelListener, addUpdateClockListener, addUpdateInformationListener, addUpdateRelationListener, addUpdateStepListener, addUpdateWorldListener, close, dispose, getMainFrame, getPresentationContainer, getWorld, initializeDefaultCloseOperation, initializeFrame, initializeFramePolicy, initializeIcon, initializeWindow, open, removeTradeListener, removeUpdateAgentListener, removeUpdateBehaviorListener, removeUpdateChannelListener, removeUpdateClockListener, removeUpdateInformationListener, removeUpdateRelationListener, removeUpdateStepListener, removeUpdateWorldListener, setPresentationContainer
 
クラス javax.swing.JInternalFrame から継承したメソッド
addImpl, addInternalFrameListener, createRootPane, doDefaultCloseAction, fireInternalFrameEvent, getAccessibleContext, getContentPane, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLayer, getLayeredPane, getMenuBar, getMostRecentFocusOwner, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isRootPaneCheckingEnabled, isSelected, moveToBack, moveToFront, pack, paintComponent, paramString, remove, removeInternalFrameListener, reshape, restoreSubcomponentFocus, setClosable, setClosed, setContentPane, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setFrameIcon, setGlassPane, setIcon, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, setMenuBar, setNormalBounds, setResizable, setRootPane, setRootPaneCheckingEnabled, setSelected, setTitle, setUI, show, toBack, toFront, 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, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getSize, getToolTipLocation, getToolTipText, 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, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
クラス java.awt.Container から継承したメソッド
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, 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, 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, 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, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

labelName

protected javax.swing.JLabel labelName

labelStatus

protected javax.swing.JLabel labelStatus

buttonRun

protected javax.swing.JButton buttonRun
コンストラクタの詳細

ConsecutiveExecuteComponent

public ConsecutiveExecuteComponent()
メソッドの詳細

initialize

public final void initialize()
初期化

定義:
インタフェース PresentationComponent 内の initialize

terminate

public final void terminate()
インタフェース PresentationComponent の記述:
このプレゼンテーションコンポーネントを終了します。 コンテナーのremoveメソッドから呼ばれます。(modelが存在していれば、 先にcloseWorldが呼ばれます。)

定義:
インタフェース PresentationComponent 内の terminate

getTitleName

protected abstract java.lang.String getTitleName()
オーバーライドすべきもの


run

protected abstract void run()
                     throws java.lang.InterruptedException
例外:
java.lang.InterruptedException

showStatusMessage

protected void showStatusMessage(java.lang.String message)
ステータス表示用


executeWorld

protected final void executeWorld(java.lang.Class clazz,
                                  long step)
World同期実行用


executeWorld

protected final void executeWorld(World world,
                                  long step)

simulationStarted

public void simulationStarted(SimulationStateEvent ev)
インタフェース SimulationStateListener の記述:
シミュレーションが開始されたことを通知します

定義:
インタフェース SimulationStateListener 内の simulationStarted
関連項目:
SimulationStateListener.simulationStarted(SimulationStateEvent)

simulationStopped

public void simulationStopped(SimulationStateEvent ev)
インタフェース SimulationStateListener の記述:
シミュレーションが停止されたことを通知します

定義:
インタフェース SimulationStateListener 内の simulationStopped
関連項目:
SimulationStateListener.simulationStopped(SimulationStateEvent)

simulationStopping

public void simulationStopping(SimulationStateEvent ev)
インタフェース SimulationStateListener の記述:
シミュレーションが停止処理にはいったことを通知します

定義:
インタフェース SimulationStateListener 内の simulationStopping
関連項目:
SimulationStateListener.simulationStopping(SimulationStateEvent)