wt.clients.csm.classification
Class ConstraintCreator

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Dialog
                  extended byjavax.swing.JDialog
                      extended bywt.clients.csm.classification.ConstraintCreator
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, RootPaneContainer, Serializable, WindowConstants

public class ConstraintCreator
extends JDialog

Classification Node Editor Panel This contains a tabbed pane consisting of General, Template & constraints tab

See Also:
Serialized Form

Nested Class Summary
(package private)  class ConstraintCreator.ButtonListener
           
 
Nested classes inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
 
Nested classes inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog
 
Nested classes inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
Nested classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
(package private)  boolean appliesToDescend
           
(package private)  JButton backButton
           
(package private)  Vector backVector
           
(package private)  JButton cancelButton
           
(package private)  JPanel centerPanel
           
(package private)  AbstractCSMAttributeConstraintView constraintObject
           
(package private)  ClassificationNodeDefaultView currentNode
           
private static boolean debug
           
(package private)  AttributeDefDefaultView definition
           
(package private)  boolean dirty
           
private  ConstraintEditorPanel editorPanel
           
private static String FIFTH
           
private static String FIRST
           
private static String FOURTH
           
(package private)  CardLayout layout
           
private  String measurementSystem
           
(package private)  JButton nextButton
           
(package private)  ClassificationNodeDefaultView node
           
protected  ResourceBundle resource
           
protected static String RESOURCE
           
private static String SECOND
           
private  String selectedCard
           
(package private) static int selectedIndex
           
private  ConstraintSummaryPanel summaryPanel
           
private  ConstraintTargetAttributePanel targetAttributePanel
           
private  ConstraintTargetMainPanel targetMainPanel
           
private static String THIRD
           
private  ConstraintTypeSelectorPanel typeSelectorPanel
           
(package private)  ValueConstraint valueConstraint
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
 
Fields inherited from class java.awt.Window
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
(package private) ConstraintCreator()
          Construct an empty panel
(package private) ConstraintCreator(ClassificationNodeDefaultView node)
           
(package private) ConstraintCreator(ClassificationNodeDefaultView node, Frame frame, boolean modal)
           
(package private) ConstraintCreator(ClassificationNodeDefaultView node, Frame frame, boolean modal, AbstractCSMAttributeConstraintView target)
           
(package private) ConstraintCreator(ClassificationNodeDefaultView node, Frame frame, boolean modal, String measurementSystem)
           
(package private) ConstraintCreator(ClassificationNodeDefaultView node, Frame frame, boolean modal, String measurementSystem, AbstractCSMAttributeConstraintView target)
           
 
Method Summary
protected  void backClicked()
           
protected  void cancelClicked()
           
protected  void finishClicked()
           
 Object getItem()
           
protected  void initResource()
           
 boolean isDirty()
           
protected  void nextClicked()
           
private  void placeInCenter()
           
private  void setComponents()
          Creates the editorPanel
 void setDirty(boolean dirty)
           
protected  void showCard(String str)
           
 
Methods inherited from class 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
 
Methods inherited from class java.awt.Dialog
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show
 
Methods inherited from class 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
 
Methods inherited from class 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
 
Methods inherited from class 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
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

protected static final String RESOURCE
See Also:
Constant Field Values

debug

private static final boolean debug

resource

protected ResourceBundle resource

FIRST

private static final String FIRST
See Also:
Constant Field Values

SECOND

private static final String SECOND
See Also:
Constant Field Values

THIRD

private static final String THIRD
See Also:
Constant Field Values

FOURTH

private static final String FOURTH
See Also:
Constant Field Values

FIFTH

private static final String FIFTH
See Also:
Constant Field Values

selectedCard

private String selectedCard

targetMainPanel

private ConstraintTargetMainPanel targetMainPanel

targetAttributePanel

private ConstraintTargetAttributePanel targetAttributePanel

typeSelectorPanel

private ConstraintTypeSelectorPanel typeSelectorPanel

editorPanel

private ConstraintEditorPanel editorPanel

summaryPanel

private ConstraintSummaryPanel summaryPanel

measurementSystem

private String measurementSystem

currentNode

ClassificationNodeDefaultView currentNode

selectedIndex

static int selectedIndex

backButton

JButton backButton

nextButton

JButton nextButton

cancelButton

JButton cancelButton

centerPanel

JPanel centerPanel

layout

CardLayout layout

node

ClassificationNodeDefaultView node

dirty

boolean dirty

backVector

Vector backVector

definition

AttributeDefDefaultView definition

appliesToDescend

boolean appliesToDescend

valueConstraint

ValueConstraint valueConstraint

constraintObject

AbstractCSMAttributeConstraintView constraintObject
Constructor Detail

ConstraintCreator

ConstraintCreator()
Construct an empty panel


ConstraintCreator

ConstraintCreator(ClassificationNodeDefaultView node)

ConstraintCreator

ConstraintCreator(ClassificationNodeDefaultView node,
                  Frame frame,
                  boolean modal)

ConstraintCreator

ConstraintCreator(ClassificationNodeDefaultView node,
                  Frame frame,
                  boolean modal,
                  AbstractCSMAttributeConstraintView target)

ConstraintCreator

ConstraintCreator(ClassificationNodeDefaultView node,
                  Frame frame,
                  boolean modal,
                  String measurementSystem)

ConstraintCreator

ConstraintCreator(ClassificationNodeDefaultView node,
                  Frame frame,
                  boolean modal,
                  String measurementSystem,
                  AbstractCSMAttributeConstraintView target)
Method Detail

initResource

protected void initResource()

setComponents

private void setComponents()
Creates the editorPanel


placeInCenter

private void placeInCenter()

showCard

protected void showCard(String str)

backClicked

protected void backClicked()

nextClicked

protected void nextClicked()

cancelClicked

protected void cancelClicked()

getItem

public Object getItem()

isDirty

public boolean isDirty()

setDirty

public void setDirty(boolean dirty)

finishClicked

protected void finishClicked()