com.ptc.wgmecad
Class BomControl
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.ptc.wgmecad.GriddedPanel
com.ptc.wgmecad.BomControl
- All Implemented Interfaces:
- Accessible, ImageObserver, MenuContainer, Serializable
- public class BomControl
- extends GriddedPanel
- See Also:
- Serialized Form
Fields inherited from class javax.swing.JPanel |
|
Fields inherited from class java.awt.Container |
|
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
design
private DesignAll design
ccawgm
private CCAWGMMain ccawgm
editable
private boolean editable
defaultRevision
private String defaultRevision
queryForCheckedOut
private boolean queryForCheckedOut
status
private DesignStatusControl status
BOMRepControl
private BomReportControl BOMRepControl
schProjLocControl
private SchematicLocationControl schProjLocControl
argMap
private static ArgumentMap argMap
argReg
private static ArgumentRegister argReg
sargMap
private static SecondaryArgumentMap sargMap
sargReg
private static SecondaryArgumentRegister sargReg
searchImage
private ImageIcon searchImage
lockImage
private ImageIcon lockImage
unlockImage
private ImageIcon unlockImage
contentImage
private ImageIcon contentImage
variantImage
private ImageIcon variantImage
epmDocType
private String epmDocType
schematicNameEdit
private boolean schematicNameEdit
schematicNunberEdit
private boolean schematicNunberEdit
schematicRevisionEdit
private boolean schematicRevisionEdit
schematicDescriptionEdit
private boolean schematicDescriptionEdit
jjStatusPanel
private JPanel jjStatusPanel
jSchematicPanel
private JPanel jSchematicPanel
jDataPanel
private JPanel jDataPanel
jWindchillPanel
private JPanel jWindchillPanel
jAllPanel
private JPanel jAllPanel
jSchematicNameLabel
private JLabel jSchematicNameLabel
jSchematicNameText
private JTextField jSchematicNameText
jSchematicNumberLabel
private JLabel jSchematicNumberLabel
jSchematicNumberText
private JTextField jSchematicNumberText
jSchematicRevisionLabel
private JLabel jSchematicRevisionLabel
jSchematicRevisionText
private JTextField jSchematicRevisionText
jSchematicDescriptionLabel
private JLabel jSchematicDescriptionLabel
jSchematicDescriptionText
private JTextField jSchematicDescriptionText
vdfDialog
private EditVDFDialog vdfDialog
instance
private static BomControl instance
BOMGridTitle
private static String BOMGridTitle
BOMGridTab
private static ABOMGrid BOMGridTab
isBOMGridTab
private static boolean isBOMGridTab
indexBOMGridTab
private static int indexBOMGridTab
numBOMTabs
private static int numBOMTabs
logger
static org.apache.log4j.Logger logger
tab
private JTabbedPane tab
registeredTabs
Set registeredTabs
originalBackgroundColor
static Color originalBackgroundColor
BomControl
public BomControl(DesignAll design,
CCAWGMMain ccawgm,
boolean editable,
boolean includeTeam,
boolean queryForCheckedOut)
- Creates new form BomControl2
BomControl
public BomControl(DesignAll design,
CCAWGMMain ccawgm)
BomControl
public BomControl()
getInstance
public static BomControl getInstance()
init
private void init()
onStateChanged
private void onStateChanged(ChangeEvent e)
switchToTab
private void switchToTab(Component tabComp)
- Changes to the tab with the component that is passed in. If the component is not found, it does nothing.
initComponents
protected void initComponents()
removeBOMTabs
public void removeBOMTabs()
removeVariants
public void removeVariants()
setUploadDisplay
public void setUploadDisplay()
onNew
public void onNew()
onDesignChange
public void onDesignChange()
addOKListener
private void addOKListener()
onOK
public void onOK()
setupEditability
private void setupEditability(boolean enable)
updateGUIValues
private void updateGUIValues()
clearGUIValues
private void clearGUIValues()
updateDesignFromGUIValues
private void updateDesignFromGUIValues()
updateDesignEntry
private void updateDesignEntry()
- This updates the status of a design, querying Windchill to get state.
fix: update this for board and schematic status checking
updateDesignStatus
private void updateDesignStatus()
- This updates the status of a design, querying Windchill to get state.
fix: update this for board and schematic status checking
getDesign
public DesignAll getDesign()
setDesign
public void setDesign(DesignAll design)