|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JToolBar com.alee.laf.toolbar.WebToolBar
public class WebToolBar
User: mgarin Date: 23.08.11 Time: 16:15
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JToolBar |
---|
javax.swing.JToolBar.AccessibleJToolBar, javax.swing.JToolBar.Separator |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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 | |
---|---|
WebToolBar()
|
|
WebToolBar(int orientation)
|
|
WebToolBar(java.lang.String name)
|
|
WebToolBar(java.lang.String name,
int orientation)
|
Method Summary | |
---|---|
void |
add(java.awt.Component... components)
|
void |
add(int index,
java.awt.Component... components)
|
void |
add(java.util.List<? extends java.awt.Component> components)
|
void |
add(java.util.List<? extends java.awt.Component> components,
int index)
Additional childs interaction methods |
void |
add(java.util.List<? extends java.awt.Component> components,
java.lang.String constraints)
|
void |
add(java.lang.String constraints,
java.awt.Component... components)
|
void |
addFill(java.awt.Component component)
|
void |
addSeparator()
|
WebSeparator |
addSeparator(int spacing)
|
WebSeparator |
addSeparator(java.lang.String constrain)
|
WebSeparator |
addSeparator(java.lang.String constrain,
int spacing)
|
WebSeparator |
addSeparatorToEnd()
|
WebSeparator |
addSeparatorToEnd(int spacing)
|
void |
addSpacing()
|
void |
addSpacing(int spacing)
|
void |
addSpacing(int spacing,
java.lang.String constrain)
|
void |
addSpacingToEnd()
|
void |
addSpacingToEnd(int spacing)
|
void |
addToEnd(java.awt.Component component)
|
void |
addToMiddle(java.awt.Component component)
Additional toolbar element methods |
java.awt.Color |
getBorderColor()
|
java.awt.Color |
getBottomBgColor()
|
java.awt.Component |
getFirstComponent()
|
java.lang.String |
getLanguageContainerKey()
Returns language container key for container which implements this interface. |
java.awt.Component |
getLastComponent()
|
java.awt.Insets |
getMargin()
|
int |
getMinimumHeight()
Returns component minimum height. |
int |
getMinimumWidth()
Returns component minimum width. |
Painter |
getPainter()
|
int |
getPreferredHeight()
Returns component preferred height. |
java.awt.Dimension |
getPreferredSize()
Returns component preferred size. |
int |
getPreferredWidth()
Returns component preferred width. |
int |
getRound()
|
int |
getShadeWidth()
|
int |
getSpacing()
|
ToolbarLayout |
getToolbarLayout()
|
ToolbarStyle |
getToolbarStyle()
|
java.awt.Color |
getTopBgColor()
|
WebToolBarUI |
getWebUI()
|
boolean |
isFloating()
|
boolean |
isUndecorated()
UI methods |
java.awt.Shape |
provideShape()
Returns component shape. |
void |
removeLanguageContainerKey()
Removes language container key for container which implements this interface. |
void |
setBorderColor(java.awt.Color lowerBorderColor)
|
void |
setBottomBgColor(java.awt.Color bottomBgColor)
|
void |
setLanguageContainerKey(java.lang.String key)
Sets language container key for container which implements this interface. |
void |
setMargin(java.awt.Insets margin)
|
void |
setMargin(int spacing)
|
void |
setMargin(int top,
int left,
int bottom,
int right)
|
WebToolBar |
setMinimumHeight(int minimumHeight)
Sets component minimum height. |
WebToolBar |
setMinimumWidth(int minimumWidth)
Sets component minimum width. |
void |
setPainter(Painter painter)
|
WebToolBar |
setPreferredHeight(int preferredHeight)
Sets component preferred height. |
WebToolBar |
setPreferredWidth(int preferredWidth)
Sets component preferred width. |
void |
setRound(int round)
|
void |
setShadeWidth(int shadeWidth)
|
void |
setSpacing(int spacing)
|
void |
setToolbarStyle(ToolbarStyle toolbarStyle)
|
void |
setTopBgColor(java.awt.Color topBgColor)
|
void |
setUndecorated(boolean undecorated)
|
void |
updateUI()
|
Methods inherited from class javax.swing.JToolBar |
---|
add, addImpl, addSeparator, createActionChangeListener, createActionComponent, getAccessibleContext, getComponentAtIndex, getComponentIndex, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, isRollover, paintBorder, paramString, setBorderPainted, setFloatable, setLayout, setOrientation, setRollover, setUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, 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, setUI, 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, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, 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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WebToolBar()
public WebToolBar(java.lang.String name)
public WebToolBar(java.lang.String name, int orientation)
public WebToolBar(int orientation)
Method Detail |
---|
public void addToMiddle(java.awt.Component component)
public void addFill(java.awt.Component component)
public void addToEnd(java.awt.Component component)
public void addSeparator()
addSeparator
in class javax.swing.JToolBar
public WebSeparator addSeparatorToEnd()
public WebSeparator addSeparator(java.lang.String constrain)
public WebSeparator addSeparator(int spacing)
public WebSeparator addSeparatorToEnd(int spacing)
public WebSeparator addSeparator(java.lang.String constrain, int spacing)
public void addSpacing()
public void addSpacing(int spacing)
public void addSpacingToEnd()
public void addSpacingToEnd(int spacing)
public void addSpacing(int spacing, java.lang.String constrain)
public void add(java.util.List<? extends java.awt.Component> components, int index)
public void add(java.util.List<? extends java.awt.Component> components, java.lang.String constraints)
public void add(java.util.List<? extends java.awt.Component> components)
public void add(int index, java.awt.Component... components)
public void add(java.lang.String constraints, java.awt.Component... components)
public void add(java.awt.Component... components)
public java.awt.Component getFirstComponent()
public java.awt.Component getLastComponent()
public boolean isUndecorated()
public void setUndecorated(boolean undecorated)
public Painter getPainter()
public void setPainter(Painter painter)
public int getRound()
public void setRound(int round)
public int getShadeWidth()
public void setShadeWidth(int shadeWidth)
public java.awt.Insets getMargin()
getMargin
in class javax.swing.JToolBar
public void setMargin(java.awt.Insets margin)
setMargin
in class javax.swing.JToolBar
public void setMargin(int top, int left, int bottom, int right)
public void setMargin(int spacing)
public ToolbarStyle getToolbarStyle()
public void setToolbarStyle(ToolbarStyle toolbarStyle)
public int getSpacing()
public void setSpacing(int spacing)
public java.awt.Color getTopBgColor()
public void setTopBgColor(java.awt.Color topBgColor)
public java.awt.Color getBottomBgColor()
public void setBottomBgColor(java.awt.Color bottomBgColor)
public java.awt.Color getBorderColor()
public void setBorderColor(java.awt.Color lowerBorderColor)
public ToolbarLayout getToolbarLayout()
public boolean isFloating()
public java.awt.Shape provideShape()
ShapeProvider
provideShape
in interface ShapeProvider
public WebToolBarUI getWebUI()
public void updateUI()
updateUI
in class javax.swing.JToolBar
public int getPreferredWidth()
getPreferredWidth
in interface SizeMethods<WebToolBar>
public WebToolBar setPreferredWidth(int preferredWidth)
setPreferredWidth
in interface SizeMethods<WebToolBar>
preferredWidth
- new component preferred width
public int getPreferredHeight()
getPreferredHeight
in interface SizeMethods<WebToolBar>
public WebToolBar setPreferredHeight(int preferredHeight)
setPreferredHeight
in interface SizeMethods<WebToolBar>
preferredHeight
- new component preferred height
public int getMinimumWidth()
getMinimumWidth
in interface SizeMethods<WebToolBar>
public WebToolBar setMinimumWidth(int minimumWidth)
setMinimumWidth
in interface SizeMethods<WebToolBar>
minimumWidth
- new component minimum width
public int getMinimumHeight()
getMinimumHeight
in interface SizeMethods<WebToolBar>
public WebToolBar setMinimumHeight(int minimumHeight)
setMinimumHeight
in interface SizeMethods<WebToolBar>
minimumHeight
- new component minimum height
public java.awt.Dimension getPreferredSize()
getPreferredSize
in interface SizeMethods<WebToolBar>
getPreferredSize
in class javax.swing.JComponent
public void setLanguageContainerKey(java.lang.String key)
setLanguageContainerKey
in interface LanguageContainerMethods
key
- language container keypublic void removeLanguageContainerKey()
removeLanguageContainerKey
in interface LanguageContainerMethods
public java.lang.String getLanguageContainerKey()
getLanguageContainerKey
in interface LanguageContainerMethods
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |