|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JToolBar
com.altair.hwm.guilibrary.AltairJToolBar
com.altair.hwm.toolkit.utils.HWMToolBarContainer
public class HWMToolBarContainer
Title: HWMToolBarContainer
Description: The toolbar that will contain sub-toolbars. THis will take care of wrapping the sub toolbars
Company: Altair Engineering, Inc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JToolBar |
|---|
javax.swing.JToolBar.Separator |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Field Summary | |
|---|---|
static java.lang.String |
PROP_TOOLBAR_SHOW
These statics represent the properties fired by the frame model |
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
HWMToolBarContainer()
Constructor |
|
| Method Summary | |
|---|---|
void |
AddToolBar(AltairJToolBar jToolBar)
Add a toolbar with given name |
void |
EnableComponent(java.lang.String strToolBarName,
java.lang.String strCompName,
boolean bEnable)
Enable/disable a component in the toolbar, only if the toolbar is of type HWMToolBar |
void |
EnableComponents(java.lang.String strToolBarName,
java.lang.String[] arrstrCompNames,
boolean bEnable)
Enable/disable components in the toolbar, only if the toolbar is of type HWMToolBar |
void |
EnableToolBar(java.lang.String strName,
boolean bEnable)
Enable/disable the toolbar with given title |
AltairJToolBar |
GetToolBar(java.lang.String strName)
Get the toolbar with given title |
java.awt.Component |
GetToolBarComponent(java.lang.String strToolBarName,
java.lang.String strCompName)
Return a component in the toolbar with given name. |
boolean |
IsVisisble()
Returns boolean to signify if any toolbar is visible |
void |
ShowComponent(java.lang.String strToolBarName,
java.lang.String strCompName,
boolean bShow)
Show/hide a component in the toolbar, only if the toolbar is of type HWMToolBar |
void |
ShowComponents(java.lang.String strToolBarName,
java.lang.String[] arrstrCompNames,
boolean bShow)
Show/hide components in the toolbar, only if the toolbar is of type HWMToolBar |
void |
ShowToolBar(java.lang.String strName,
boolean bShow)
Show the toolbar with given title |
| Methods inherited from class javax.swing.JToolBar |
|---|
add, addSeparator, addSeparator, getAccessibleContext, getComponentAtIndex, getComponentIndex, getMargin, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, isRollover, setBorderPainted, setFloatable, setLayout, setMargin, setOrientation, setRollover, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROP_TOOLBAR_SHOW
| Constructor Detail |
|---|
public HWMToolBarContainer()
| Method Detail |
|---|
public void AddToolBar(AltairJToolBar jToolBar)
jToolBar - The toolbar to be addedpublic AltairJToolBar GetToolBar(java.lang.String strName)
strName - The name of the toolbar to return
public void EnableToolBar(java.lang.String strName,
boolean bEnable)
strName - The name of the toolbar to returnbEnable - If true, the toolbar is enabled else disabled
public void ShowToolBar(java.lang.String strName,
boolean bShow)
strName - The name of the toolbar to returnbShow - If true, the toolbar is shown else hidden
public java.awt.Component GetToolBarComponent(java.lang.String strToolBarName,
java.lang.String strCompName)
throws java.lang.Exception
strToolBbarName - The name of the toolbarstrCompName - The name of the component to return
java.lang.Exception
public void EnableComponent(java.lang.String strToolBarName,
java.lang.String strCompName,
boolean bEnable)
throws java.lang.Exception
strToolBbarName - The name of the toolbarstrCompName - The name of the component to enable/disablebEnable - If true, the comp is enabled else disabled
java.lang.Exception
public void EnableComponents(java.lang.String strToolBarName,
java.lang.String[] arrstrCompNames,
boolean bEnable)
throws java.lang.Exception
strToolBbarName - The name of the toolbararrstrCompNames - The array of names of the components to
enable/disablebEnable - If true, the comp is enabled else disabled
java.lang.Exception
public void ShowComponent(java.lang.String strToolBarName,
java.lang.String strCompName,
boolean bShow)
throws java.lang.Exception
strToolBbarName - The name of the toolbarstrCompName - The name of the component to show/hidebShow - If true, the comp is shown else hidden
java.lang.Exception
public void ShowComponents(java.lang.String strToolBarName,
java.lang.String[] arrstrCompNames,
boolean bShow)
throws java.lang.Exception
strToolBbarName - The name of the toolbararrstrCompNames - The array of names of the components to show/hidebShow - If true, the comp is shown else hidden
java.lang.Exceptionpublic boolean IsVisisble()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||