|
||||||||||
| 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.JPanel
com.sibvisions.rad.ui.swing.ext.JVxToolBarPanel
public class JVxToolBarPanel
The JVxToolBarPanel is a special JPanel extension
with a content pane and toolbar areas around it.
| Nested Class Summary | |
|---|---|
static class |
JVxToolBarPanel.ToolBarArea
the possible toolbar areas. |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, 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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JVxToolBarPanel()
Creates a new instance of JVxToolBarPanel. |
|
| Method Summary | |
|---|---|
protected void |
addImpl(Component pComponent,
Object pConstraints,
int pIndex)
|
void |
addToolBar(JToolBar pToolBar)
Adds a toolbar to this panel as last component. |
void |
addToolBar(JToolBar pToolBar,
int pIndex)
Adds a toolbar to this panel at a specified index. |
JVxToolBarPanel.ToolBarArea |
getArea()
Gets the current area of the toolbar. |
protected JToolBar |
getToolBar()
Gets the internal toolbar. |
JToolBar |
getToolBar(int pIndex)
Gets the JToolBar at a specific index. |
int |
getToolBarCount()
Gets the number of JToolBars in this panel. |
void |
remove(Component pComponent)
|
void |
remove(int pIndex)
|
void |
removeAll()
|
void |
removeToolBar(JToolBar pToolBar)
Removes a toolbar from this panel. |
void |
setArea(JVxToolBarPanel.ToolBarArea pArea)
Sets the area in which the toolbars will be added. |
void |
setBackground(Color pColor)
|
void |
setLayout(LayoutManager pLayout)
|
void |
setOpaque(boolean pOpaque)
|
void |
updateUI()
|
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JVxToolBarPanel()
JVxToolBarPanel.
| Method Detail |
|---|
public void updateUI()
updateUI in class JPanelpublic void setBackground(Color pColor)
setBackground in class JComponentpublic void setLayout(LayoutManager pLayout)
setLayout in class Containerpublic void setOpaque(boolean pOpaque)
setOpaque in class JComponent
protected void addImpl(Component pComponent,
Object pConstraints,
int pIndex)
addImpl in class Containerpublic void remove(Component pComponent)
remove in class Containerpublic void remove(int pIndex)
remove in class Containerpublic void removeAll()
removeAll in class Containerpublic void addToolBar(JToolBar pToolBar)
pToolBar - the toolbar to be added
public void addToolBar(JToolBar pToolBar,
int pIndex)
pToolBar - the toolbar to be addedpIndex - the index for the toolbarpublic void removeToolBar(JToolBar pToolBar)
pToolBar - the toolbarpublic int getToolBarCount()
JToolBars in this panel.
public JToolBar getToolBar(int pIndex)
JToolBar at a specific index.
pIndex - the index
pIndex from pAreapublic void setArea(JVxToolBarPanel.ToolBarArea pArea)
pArea - the JVxToolBarPanel.ToolBarAreapublic JVxToolBarPanel.ToolBarArea getArea()
JVxToolBarPanel.ToolBarAreaprotected JToolBar getToolBar()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||