jp.sourceforge.gtibuilder.main
クラス NewDialog

java.lang.Object
  拡張java.awt.Component
      拡張java.awt.Container
          拡張java.awt.Window
              拡張java.awt.Dialog
                  拡張javax.swing.JDialog
                      拡張jp.sourceforge.gtibuilder.main.NewDialog
すべての実装インタフェース:
Accessible, ActionListener, EventListener, ImageObserver, MenuContainer, RootPaneContainer, Serializable, TreeSelectionListener, WindowConstants

public class NewDialog
extends JDialog
implements ActionListener, TreeSelectionListener

メニューから"New..."を選んだときに表示されるダイアログです。 新しく作ることが可能なファイルをツリーで表示します。

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

入れ子クラスの概要
private  class NewDialog.NodeAndFile
           
 
クラス javax.swing.JDialog から継承した入れ子クラス
JDialog.AccessibleJDialog
 
クラス java.awt.Dialog から継承した入れ子クラス
Dialog.AccessibleAWTDialog
 
クラス java.awt.Window から継承した入れ子クラス
Window.AccessibleAWTWindow
 
クラス java.awt.Container から継承した入れ子クラス
Container.AccessibleAWTContainer
 
クラス java.awt.Component から継承した入れ子クラス
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
フィールドの概要
private  JButton back
           
private  JButton cancel
           
private  JScrollPane jsp
           
private  JTree jt
           
private  Hashtable map
           
private  JPanel mother
           
private  NewPanel newPanel
           
private  JButton next
           
private  NewDialog.NodeAndFile[] nodes
           
private  ProjectManager pm
           
private  DefaultMutableTreeNode project
           
private  DefaultMutableTreeNode root
           
private  int sproject
           
private  JComponent startup
           
private  int step
           
 
クラス javax.swing.JDialog から継承したフィールド
accessibleContext, rootPane, rootPaneCheckingEnabled
 
クラス java.awt.Dialog から継承したフィールド
 
クラス java.awt.Window から継承したフィールド
 
クラス java.awt.Container から継承したフィールド
 
クラス 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
 
コンストラクタの概要
NewDialog(ProjectManager pm)
          NewDialogのインスタンスを作成します。
 
メソッドの概要
 void actionPerformed(ActionEvent e)
          インベントを受け取ります。
protected  void init()
          NewDialogを初期化します。
protected  void showConfig()
          新しく作成するものがプロジェクトでなかった場合の処理を行います。
protected  void showNewProject()
          新しく作成するものがプロジェクトだった場合の処理を行います。
 void valueChanged(TreeSelectionEvent e)
          インベントを受け取ります。
 
クラス javax.swing.JDialog から継承したメソッド
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
クラス java.awt.Dialog から継承したメソッド
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show
 
クラス java.awt.Window から継承したメソッド
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront
 
クラス java.awt.Container から継承したメソッド
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
クラス java.awt.Component から継承したメソッド
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
クラス java.lang.Object から継承したメソッド
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

jt

private JTree jt

jsp

private JScrollPane jsp

root

private DefaultMutableTreeNode root

project

private DefaultMutableTreeNode project

nodes

private NewDialog.NodeAndFile[] nodes

next

private JButton next

back

private JButton back

cancel

private JButton cancel

mother

private JPanel mother

pm

private ProjectManager pm

map

private Hashtable map

step

private int step

sproject

private int sproject

startup

private JComponent startup

newPanel

private NewPanel newPanel
コンストラクタの詳細

NewDialog

public NewDialog(ProjectManager pm)
NewDialogのインスタンスを作成します。

パラメータ:
pm - ProjectManagerを指定します。
メソッドの詳細

init

protected void init()
NewDialogを初期化します。


actionPerformed

public void actionPerformed(ActionEvent e)
インベントを受け取ります。

定義:
インタフェース ActionListener 内の actionPerformed
パラメータ:
e - ActionEvent

showConfig

protected void showConfig()
新しく作成するものがプロジェクトでなかった場合の処理を行います。


showNewProject

protected void showNewProject()
新しく作成するものがプロジェクトだった場合の処理を行います。


valueChanged

public void valueChanged(TreeSelectionEvent e)
インベントを受け取ります。

定義:
インタフェース TreeSelectionListener 内の valueChanged
パラメータ:
e - TreeSelectionEvent