|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.ScrollPane | +--PopupOrderedCondChooser.CondParamEditForm
Class CondParamEditForm creates a ScrollPane of the (name,value) parameters for the current condition instance.
Inner classes inherited from class java.awt.ScrollPane |
java.awt.ScrollPane.AccessibleAWTScrollPane, java.awt.ScrollPane.PeerFixer |
Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock |
Field Summary | |
(package private) java.awt.BorderLayout |
bl
main layout |
private static int |
DEF_SP_HEIGHT
default preferred size used prior to mainPanel being constructed |
private static int |
DEF_SP_WIDTH
default preferred size used prior to mainPanel being constructed |
(package private) java.awt.GridLayout |
labelGL
labels GridLayout to create condition form |
(package private) java.awt.Panel |
labelPanel
labels go here |
(package private) java.awt.Panel |
mainPanel
place both labelPanel & tfPanel to create form |
static int |
MAX_POSSIBLE_PARAMS
max width of textfields |
(package private) java.awt.TextField[] |
nameTF
parameter names fields |
(package private) int |
nParams
|
(package private) PopupOrderedCondChooser.OclListData |
oclLd
instance of OclListData |
(package private) PopupOrderedCondChooser |
pcc
parent class |
(package private) java.awt.GridLayout |
tfGL
TextFields GridLayout to create condition form |
(package private) java.awt.Panel |
tfPanel
TextFields go here |
(package private) boolean |
valueChangedFlag
a value was changed for THIS condition in one or more parametes, so data will need to be saved. |
Fields inherited from class java.awt.ScrollPane |
base, hAdjustable, nameCounter, scrollbarDisplayPolicy, SCROLLBARS_ALWAYS, SCROLLBARS_AS_NEEDED, SCROLLBARS_NEVER, serialVersionUID, vAdjustable |
Fields inherited from class java.awt.Container |
component, containerListener, containerSerializedDataVersion, dbg, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads |
Fields inherited from class java.awt.Component |
accessibleContext, actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, privateKey, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
(package private) |
PopupOrderedCondChooser.CondParamEditForm(PopupOrderedCondChooser pcc,
PopupOrderedCondChooser.OclListData oclLd,
PopupOrderedCondChooser.CondParamEditForm oldCPEF)
CondParamEditForm() - Constructor for parameter (name[],value[]) data. |
Method Summary | |
private void |
buildParamEditGUI()
buildParamEditGUI() - create GUI for the condition form. |
java.awt.Dimension |
getPreferredSize()
getPreferredSize() - get the preferred size |
boolean |
saveData()
saveData() - Save value data from textFields to oclLd.value[] if changed. |
void |
textValueChanged(java.awt.event.TextEvent textEvent)
textValueChanged() - service text changed by setting the value changed flag. |
Methods inherited from class java.awt.ScrollPane |
|
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, adjustListeningChildren, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventImpl, dispatchEventToSelf, eventEnabled, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMouseEventTarget, getWindow, insets, invalidate, invalidateTree, isAncestorOf, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, nextFocus, numListening, paint, paintComponents, paintHeavyweightComponents, postProcessKeyEvent, postsOldMouseEvents, preferredSize, preProcessKeyEvent, print, printHeavyweightComponents, processContainerEvent, processEvent, proxyEnableEvents, proxyRequestFocus, readObject, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusOwner, setFont, transferFocus, update, validate, validateTree, writeObject |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkit, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isRecursivelyVisible, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, resetGC, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
Field Detail |
private static final int DEF_SP_WIDTH
private static final int DEF_SP_HEIGHT
PopupOrderedCondChooser pcc
PopupOrderedCondChooser.OclListData oclLd
public static final int MAX_POSSIBLE_PARAMS
java.awt.BorderLayout bl
java.awt.GridLayout labelGL
java.awt.GridLayout tfGL
java.awt.Panel labelPanel
java.awt.Panel tfPanel
java.awt.Panel mainPanel
java.awt.TextField[] nameTF
boolean valueChangedFlag
int nParams
Constructor Detail |
PopupOrderedCondChooser.CondParamEditForm(PopupOrderedCondChooser pcc, PopupOrderedCondChooser.OclListData oclLd, PopupOrderedCondChooser.CondParamEditForm oldCPEF)
pcc
- instance of PopupOrderedCondChooseroclLd
- is instance of OclListData to use in NEW instanceoldCPEF
- is instance of OLD cpef to check if need to save its data.buildParamEditGUI()
,
CondParamEditForm#saveData
Method Detail |
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class java.awt.Container
private void buildParamEditGUI()
instance
- of OclListDatapublic boolean saveData()
public void textValueChanged(java.awt.event.TextEvent textEvent)
textValueChanged
in interface java.awt.event.TextListener
textEvent
- if user typed in the text field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |