|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--au.edu.swin.synergy.plugin.mod13.BPaneManager
The BPaneManager allows the addition of many components to the single component and divides up the screen space using tabbed panes to separate each component.
| Inner classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Field Summary | |
static int |
kTabBottom
The tabs go at the bottom |
static int |
kTabLeft
The tabs go at the left |
static int |
kTabRight
The tabs go at the right |
static int |
kTabTop
The tabs go at the top |
| 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 |
| Constructor Summary | |
BPaneManager()
This is the default constructor. |
|
BPaneManager(int tabPlacement)
The tab placement for the tabbed pane is specified by tabPlacement. |
|
| Method Summary | |
void |
add(Component component,
Object constraints,
boolean useScrollPane)
This version of add will allow the caller to specify whether they want their component placed on a scroll pane or not. |
protected void |
addImpl(Component comp,
Object constraints,
int index)
This will take whatever components are added and add them to the tabbed pane as a new tab. |
protected void |
doDialect()
This will run through all the tabs on the tabbed pane and conver their titles to the value required for the current locale. |
JComponent |
getComponentCalled(String tabTitle)
Gets the component with the given name |
int |
getDynamicCount()
This will return the number of components currently being displayed on this dynamic pane. |
void |
removeComponent(Component targetComponent)
This will remove the given component from the tabbed pane |
void |
selectComponent(Component targetComponent)
This will select the given component on the tabbed pane |
boolean |
selectComponentCalled(String tabTitle)
This will return the tab with the given title |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext,
getUIClassID,
paramString,
updateUI |
| Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setLayout,
validate,
validateTree |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final int kTabTop
public static final int kTabBottom
public static final int kTabLeft
public static final int kTabRight
| Constructor Detail |
public BPaneManager()
- public BPaneManager(int tabPlacement)
tabPlacement - Acceptable values include: JTabbedPane.TOP, JTabbedPane.BOTTOM, JTabbedPane.LEFT, JTabbedPane.RIGHT
Please complete the missing tags for BPaneManager| Method Detail |
protected void doDialect()
public void removeComponent(Component targetComponent)
targetComponent - The component to remove
Please complete the missing tags for removeComponentpublic boolean selectComponentCalled(String tabTitle)
tabTitle - The title of the tab to findpublic JComponent getComponentCalled(String tabTitle)
tabTitle - The name of the tabbed panel to getpublic void selectComponent(Component targetComponent)
targetComponent - The component to select
protected void addImpl(Component comp,
Object constraints,
int index)
This will always place the component on a scroll pane.
comp - The new item to put on the tabconstraints - The name of the tabindex - The index to put it at
public void add(Component component,
Object constraints,
boolean useScrollPane)
component - The component to addconstraints - The tab title of the componentuseScrollPane - True to place the component on a scroll pane, false to notpublic int getDynamicCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||