infosapient.ui
Class InfoSapientSetEditor

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--javax.swing.JFrame
                                |
                                +--infosapient.ui.InfoSapientSetEditor

public class InfoSapientSetEditor
extends javax.swing.JFrame
implements InfoSapientFrameIF, Observer

Version:
$Revision: 1.1.1.1 $
See Also:
Serialized Form

Inner Class Summary
(package private)  class InfoSapientSetEditor.aseDeleteMenuItemListener
           
(package private)  class InfoSapientSetEditor.aseGraphSetMenuListener
           
(package private)  class InfoSapientSetEditor.aseInfoDlg_ContinueCloseListener
           
(package private)  class InfoSapientSetEditor.aseInfoDlg_StopListener
           
(package private)  class InfoSapientSetEditor.aseKeyListener
           
(package private)  class InfoSapientSetEditor.aseNewMenuItemListener
           
(package private)  class InfoSapientSetEditor.aseNewSetContinueListener
           
(package private)  class InfoSapientSetEditor.aseNewSetStopListener
           
(package private)  class InfoSapientSetEditor.aseTypeChoiceItemListener
           
(package private)  class InfoSapientSetEditor.aseWinListener
          Inner Classes for component support
(package private)  class InfoSapientSetEditor.BtnListener
           
 
Inner classes inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AWTTreeLock
 
Field Summary
protected  javax.swing.JButton applyBtn
           
protected  javax.swing.JTextField attribNameFld
           
protected  javax.swing.JLabel attribNameLbl
           
protected  javax.swing.JMenuItem attrMenuItem
           
protected  javax.swing.JRadioButton bothRB
           
protected  javax.swing.ButtonGroup btnGrp
           
protected  javax.swing.JButton cancelBtn
           
protected  boolean chgsMade
           
protected  double cmpMember
           
protected  javax.swing.JTextField cmpMemberFld
           
protected  javax.swing.JLabel cmpMemberLbl
           
protected  InfoSapientController controller
           
protected static int CREATED
           
protected  java.lang.String defaultName
           
protected static int DELETED
           
protected  javax.swing.JMenuItem deleteSet
           
protected  javax.swing.JLabel dummy
           
protected  javax.swing.JMenu editMenu
           
protected  javax.swing.JMenu editorMenu
           
protected  boolean errorsEncountered
           
protected  javax.swing.JMenuItem exitAL
           
protected  javax.swing.JMenu fileMenu
           
protected  javax.swing.JMenuItem graphItem
           
protected  double highDomain
           
protected  javax.swing.JTextField highDomainFld
           
protected  javax.swing.JLabel highDomainLbl
           
protected  javax.swing.JRadioButton leftRB
           
protected static int LEFTSIDE
           
protected  java.util.Vector list
           
protected  double lowDomain
           
protected  javax.swing.JTextField lowDomainFld
           
protected  javax.swing.JLabel lowDomainLbl
           
protected  javax.swing.JMenuBar mainMenuBar
           
protected  javax.swing.JMenu menu3
           
protected static int MODIFIED
           
protected  java.rmi.server.ObjID myID
           
protected  javax.swing.JMenuItem newSet
           
protected  javax.swing.JRadioButton rightRB
           
protected static int RIGHTSIDE
           
protected  javax.swing.JMenuItem ruleMenuItem
           
protected static java.lang.String[] SET_ASPECTS
           
protected  javax.swing.JMenuItem setMenuItem
           
protected  javax.swing.JTextField setNameFld
           
protected  javax.swing.JLabel setNameLbl
           
protected  java.lang.String setStatusCmd
           
protected  javax.swing.JComboBox setTypeChoice
           
protected  javax.swing.JLabel setTypeChoiceLbl
           
protected static java.lang.Object[] setTypes
           
protected  java.lang.Object setTypeSelection
           
protected  FzySet theSET
           
protected  java.lang.String theSetName
           
protected static int TWOSIDED
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, defaultCloseOperation, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
base, CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, frameSerializedDataVersion, HAND_CURSOR, icon, ICONIFIED, mbManagement, menuBar, MOVE_CURSOR, N_RESIZE_CURSOR, nameCounter, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, ownedWindows, resizable, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, serialVersionUID, state, SW_RESIZE_CURSOR, TEXT_CURSOR, title, W_RESIZE_CURSOR, WAIT_CURSOR, weakThis
 
Fields inherited from class java.awt.Window
active, base, focusMgr, inputContext, nameCounter, nativeActive, OPENED, ownedWindowList, serialVersionUID, state, warningString, weakThis, windowListener, windowSerializedDataVersion
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, maxSize, ncomponents, serialVersionUID
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, assert, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, hasFocus, height, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, RIGHT_ALIGNMENT, serialVersionUID, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowListenerK, x, y
 
Constructor Summary
InfoSapientSetEditor(InfoSapientController theControl)
           
InfoSapientSetEditor(InfoSapientController theControl, FzySet tSet)
           
InfoSapientSetEditor(InfoSapientController theControl, java.util.Vector setInfo)
           
 
Method Summary
 void applyBtn_Clicked()
           
protected  void blankAllFields()
           
 void cancelBtn_Clicked()
           
protected  void changesMade()
           
protected  void changesSaved()
           
 void closeBtn_Clicked()
           
protected  FzySet createSet()
           
 void deleteInfoSapientComponent()
           
protected  FzyAttribute getAttribute()
           
protected  java.lang.Object getSetTypeSelection()
           
 void handleFSEvent(FSEvent anEvent)
           
protected  void initialize()
           
 void newBtn_Clicked()
           
 void newInfoSapientComponent()
           
 boolean newName(java.lang.String aName)
           
protected  void setChgsCleared()
           
protected  void setChgsMade()
           
protected  void setSetTypeSelection(java.lang.Object s)
           
 void setVisible(boolean f)
           
protected  void storeNewValues()
           
 void update(Observable observ, java.lang.Object obj)
           
protected  boolean validateFields()
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, createRootPaneException, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
, addNotify, addToFrameList, constructComponentName, finalize, getCursorType, getFrames, getIconImage, getMenuBar, getState, getTitle, initIDs, isResizable, postProcessKeyEvent, readObject, remove, removeFromFrameList, removeNotify, setCursor, setIconImage, setMenuBar, setResizable, setState, setTitle, writeObject
 
Methods inherited from class java.awt.Window
addOwnedWindow, addWindowListener, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, dispose, eventEnabled, getFocusOwner, getInputContext, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, hide, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postWindowEvent, preProcessKeyEvent, processEvent, removeOwnedWindow, removeWindowListener, setCursor, setFocusOwner, setWarningString, show, toBack, toFront, transferFocus
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyOrientation, countComponents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getCursorTarget, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPrint, list, list, locate, minimumSize, paint, paintComponents, postsOldMouseEvents, preferredSize, print, printComponents, printOneComponent, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, removeAll, removeContainerListener, setFont, updateCursor, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getIntrinsicCursor, getLocation, getLocation, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, 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, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

CREATED

protected static final int CREATED

DELETED

protected static final int DELETED

MODIFIED

protected static final int MODIFIED

LEFTSIDE

protected static final int LEFTSIDE

RIGHTSIDE

protected static final int RIGHTSIDE

TWOSIDED

protected static final int TWOSIDED

SET_ASPECTS

protected static final java.lang.String[] SET_ASPECTS

setTypes

protected static final java.lang.Object[] setTypes

list

protected transient java.util.Vector list

controller

protected transient InfoSapientController controller

myID

protected transient java.rmi.server.ObjID myID

theSET

protected transient FzySet theSET

applyBtn

protected transient javax.swing.JButton applyBtn

cancelBtn

protected transient javax.swing.JButton cancelBtn

btnGrp

protected transient javax.swing.ButtonGroup btnGrp

leftRB

protected transient javax.swing.JRadioButton leftRB

rightRB

protected transient javax.swing.JRadioButton rightRB

bothRB

protected transient javax.swing.JRadioButton bothRB

setTypeChoice

protected transient javax.swing.JComboBox setTypeChoice

setNameLbl

protected transient javax.swing.JLabel setNameLbl

setTypeChoiceLbl

protected transient javax.swing.JLabel setTypeChoiceLbl

attribNameLbl

protected transient javax.swing.JLabel attribNameLbl

lowDomainLbl

protected transient javax.swing.JLabel lowDomainLbl

highDomainLbl

protected transient javax.swing.JLabel highDomainLbl

cmpMemberLbl

protected transient javax.swing.JLabel cmpMemberLbl

dummy

protected transient javax.swing.JLabel dummy

fileMenu

protected transient javax.swing.JMenu fileMenu

editMenu

protected transient javax.swing.JMenu editMenu

editorMenu

protected transient javax.swing.JMenu editorMenu

menu3

protected transient javax.swing.JMenu menu3

mainMenuBar

protected transient javax.swing.JMenuBar mainMenuBar

newSet

protected transient javax.swing.JMenuItem newSet

deleteSet

protected transient javax.swing.JMenuItem deleteSet

exitAL

protected transient javax.swing.JMenuItem exitAL

attrMenuItem

protected transient javax.swing.JMenuItem attrMenuItem

setMenuItem

protected transient javax.swing.JMenuItem setMenuItem

ruleMenuItem

protected transient javax.swing.JMenuItem ruleMenuItem

graphItem

protected transient javax.swing.JMenuItem graphItem

setNameFld

protected transient javax.swing.JTextField setNameFld

attribNameFld

protected transient javax.swing.JTextField attribNameFld

lowDomainFld

protected transient javax.swing.JTextField lowDomainFld

lowDomain

protected transient double lowDomain

highDomainFld

protected transient javax.swing.JTextField highDomainFld

highDomain

protected transient double highDomain

cmpMemberFld

protected transient javax.swing.JTextField cmpMemberFld

cmpMember

protected transient double cmpMember

theSetName

protected transient java.lang.String theSetName

defaultName

protected transient java.lang.String defaultName

chgsMade

protected transient boolean chgsMade

errorsEncountered

protected transient boolean errorsEncountered

setTypeSelection

protected transient java.lang.Object setTypeSelection

setStatusCmd

protected transient java.lang.String setStatusCmd
Constructor Detail

InfoSapientSetEditor

public InfoSapientSetEditor(InfoSapientController theControl)
                     throws java.lang.IllegalArgumentException

InfoSapientSetEditor

public InfoSapientSetEditor(InfoSapientController theControl,
                            FzySet tSet)
                     throws java.lang.IllegalArgumentException

InfoSapientSetEditor

public InfoSapientSetEditor(InfoSapientController theControl,
                            java.util.Vector setInfo)
                     throws java.lang.IllegalArgumentException
Method Detail

applyBtn_Clicked

public void applyBtn_Clicked()
Specified by:
applyBtn_Clicked in interface InfoSapientFrameIF

blankAllFields

protected void blankAllFields()

cancelBtn_Clicked

public void cancelBtn_Clicked()
Specified by:
cancelBtn_Clicked in interface InfoSapientFrameIF

changesMade

protected void changesMade()

changesSaved

protected void changesSaved()

closeBtn_Clicked

public void closeBtn_Clicked()
Specified by:
closeBtn_Clicked in interface InfoSapientFrameIF

createSet

protected FzySet createSet()

deleteInfoSapientComponent

public void deleteInfoSapientComponent()

getAttribute

protected FzyAttribute getAttribute()

getSetTypeSelection

protected java.lang.Object getSetTypeSelection()

handleFSEvent

public void handleFSEvent(FSEvent anEvent)
Specified by:
handleFSEvent in interface InfoSapientFrameIF

initialize

protected void initialize()

newInfoSapientComponent

public void newInfoSapientComponent()

newBtn_Clicked

public void newBtn_Clicked()

newName

public boolean newName(java.lang.String aName)

setChgsCleared

protected void setChgsCleared()

setChgsMade

protected void setChgsMade()

setSetTypeSelection

protected void setSetTypeSelection(java.lang.Object s)

setVisible

public void setVisible(boolean f)
Overrides:
setVisible in class java.awt.Component

storeNewValues

protected void storeNewValues()

update

public void update(Observable observ,
                   java.lang.Object obj)
Specified by:
update in interface Observer

validateFields

protected boolean validateFields()

License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved