wt.clients.prodmgmt
Class OccurrencesDialog
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
wt.clients.prodmgmt.OccurrencesDialog
- All Implemented Interfaces:
- Accessible, ImageObserver, MenuContainer, Serializable
- public class OccurrencesDialog
- extends Dialog
- See Also:
- Serialized Form
Fields inherited from class java.awt.Dialog |
|
Fields inherited from class java.awt.Window |
|
Fields inherited from class java.awt.Container |
|
Methods inherited from class java.awt.Dialog |
dispose, getAccessibleContext, getTitle, hide, isModal, isResizable, isUndecorated, paramString, 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, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, 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, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, 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, show, size, toString, transferFocus, transferFocusUpCycle |
threadGroup
protected ThreadGroup threadGroup
partItem
protected PartItem partItem
assemblyPartItem
protected PartItem assemblyPartItem
occurrences
protected Vector occurrences
usageItem
protected UsageInterfaceItem usageItem
maxOccurrences
protected int maxOccurrences
command
protected int command
helpSystem
protected HelpSystem helpSystem
helpContext
protected HelpContext helpContext
initialOccurrenceCnt
protected int initialOccurrenceCnt
existingReferenceDesignators
protected Vector existingReferenceDesignators
RESOURCE
protected static String RESOURCE
REF_DES_COLUMN
protected static int REF_DES_COLUMN
ID_COLUMN
protected static int ID_COLUMN
UNNAMED
protected static String UNNAMED
VERBOSE
protected static boolean VERBOSE
ADD_OCCURRENCE
protected static final int ADD_OCCURRENCE
- See Also:
- Constant Field Values
EDIT_OCCURRENCE
protected static final int EDIT_OCCURRENCE
- See Also:
- Constant Field Values
REMOVE_OCCURRENCE
protected static final int REMOVE_OCCURRENCE
- See Also:
- Constant Field Values
SHOW_HELP
protected static final int SHOW_HELP
- See Also:
- Constant Field Values
OK
public static final int OK
- See Also:
- Constant Field Values
CANCEL
public static final int CANCEL
- See Also:
- Constant Field Values
HELP_TARGET
public static final String HELP_TARGET
- See Also:
- Constant Field Values
HELP_KEY
public static final String HELP_KEY
- See Also:
- Constant Field Values
fComponentsAdjusted
boolean fComponentsAdjusted
partLabelPanel
Panel partLabelPanel
partDetailsLabel
Label partDetailsLabel
horizontalLine1
symantec.itools.awt.shape.HorizontalLine horizontalLine1
nameLabel
Label nameLabel
nameValueLabel
Label nameValueLabel
numberLabel
Label numberLabel
numberValueLabel
Label numberValueLabel
usedInLabel
Label usedInLabel
usedInValueLabel
Label usedInValueLabel
quantityLabel
Label quantityLabel
quantityValueLabel
Label quantityValueLabel
occurrenceDetailsPanel
Panel occurrenceDetailsPanel
occurrenceDetailsLabel
Label occurrenceDetailsLabel
horizontalLine2
symantec.itools.awt.shape.HorizontalLine horizontalLine2
occurrencesPanel
Panel occurrencesPanel
occurrencesList
WTMultiList occurrencesList
tableButtonPanel
Panel tableButtonPanel
addButton
Button addButton
editButton
Button editButton
removeButton
Button removeButton
horizontalLine3
symantec.itools.awt.shape.HorizontalLine horizontalLine3
buttonPanel
Panel buttonPanel
okButton
Button okButton
cancelButton
Button cancelButton
helpButton
Button helpButton
OccurrencesDialog
public OccurrencesDialog(Frame parent)
OccurrencesDialog
public OccurrencesDialog(Frame parent,
boolean modal)
OccurrencesDialog
public OccurrencesDialog(Frame parent,
String title,
boolean modal)
addNotify
public void addNotify()
setVisible
public void setVisible(boolean b)
- Shows or hides the component depending on the boolean flag b.
- Parameters:
b
- if true, show the component; otherwise, hide the component.- See Also:
Component.isVisible()
getContext
protected WTContext getContext()
localize
protected void localize()
initializeMultiList
protected void initializeMultiList()
OccurrencesDialog_WindowClosing
void OccurrencesDialog_WindowClosing(WindowEvent event)
setParentAssemblyItem
public void setParentAssemblyItem(PartItem assembly)
setParentAssembly
public void setParentAssembly(WTPart part)
getThreadGroup
protected ThreadGroup getThreadGroup()
addButton_ActionPerformed
void addButton_ActionPerformed(ActionEvent event)
processAddCommand
protected void processAddCommand()
handleAddOccurrence
protected void handleAddOccurrence()
handleEditOccurrence
protected void handleEditOccurrence()
handleRemoveOccurrence
protected void handleRemoveOccurrence()
addToList
protected void addToList(PartUsesOccurrenceItem item,
int index)
getParentFrame
public Frame getParentFrame()
getLocalizedMessage
protected String getLocalizedMessage(String key,
Object[] params)
cancelButton_ActionPerformed
void cancelButton_ActionPerformed(ActionEvent event)
processCancelCommand
protected void processCancelCommand()
occurrencesList_itemStateChanged
void occurrencesList_itemStateChanged(ItemEvent event)
processOccurrenceSelected
protected void processOccurrenceSelected()
removeButton_ActionPerformed
void removeButton_ActionPerformed(ActionEvent event)
processRemoveCommand
protected void processRemoveCommand()
getIndexOf
protected int getIndexOf(String id)
getReferenceDesignators
protected String[] getReferenceDesignators()
addButton_KeyPressed
void addButton_KeyPressed(KeyEvent event)
editButton_ActionPerformed
void editButton_ActionPerformed(ActionEvent event)
processEditCommand
protected void processEditCommand()
editButton_KeyPressed
void editButton_KeyPressed(KeyEvent event)
removeButton_KeyPressed
void removeButton_KeyPressed(KeyEvent event)
setUsageInterfaceItem
public void setUsageInterfaceItem(UsageInterfaceItem usage_item)
updateFields
protected void updateFields()
populateOccurrences
protected void populateOccurrences()
enableAddButton
protected void enableAddButton()
enableButtons
protected void enableButtons()
getOccurrences
public Vector getOccurrences()
getCommand
public int getCommand()
okButton_ActionPerformed
void okButton_ActionPerformed(ActionEvent event)
processOkCommand
protected void processOkCommand()
occurrencesList_keyPressed
void occurrencesList_keyPressed(KeyEvent event)
occurrencesList_mouseClicked
void occurrencesList_mouseClicked(MouseEvent event)
initHelpSystem
private void initHelpSystem()
- Initialize the help system used in displaying tooltips and online help.
The help system is initialized so that all online help files are
displayed in the same browser window.
- See Also:
HelpContext
,
HelpSystem
showMessageDialog
protected void showMessageDialog(String message,
boolean modal,
Exception e)
showOnlineHelp
protected void showOnlineHelp()
processHelpCommand
protected void processHelpCommand()
helpButton_ActionPerformed
void helpButton_ActionPerformed(ActionEvent event)
helpButton_KeyPressed
void helpButton_KeyPressed(KeyEvent event)
okButton_KeyPressed
void okButton_KeyPressed(KeyEvent event)
cancelButton_KeyPressed
void cancelButton_KeyPressed(KeyEvent event)
enableOkButton
protected void enableOkButton()
setUsages
public void setUsages(Vector usages)