|
||||||||||
| 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.lib.BDynamicPane
This class allows the user to change the size of the pane in the direction specified by the creator. It is intended to be placed in the edges of a BorderLayout.
| Inner classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| 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 | |
BDynamicPane(Frame parent,
String dividerLocation)
Sets the location of the divider on the split pane. |
|
| Method Summary | |
protected void |
addImpl(Component component,
Object constraints,
int index)
This redirects added components to the content pane |
String |
getDividerLocation()
Gets the divider location of this BSplitPane |
int |
getStepSize()
When the dynamic pane is resizing, you can specify the incrementing values so that it snaps to certain sizes when the user releases the mouse. |
boolean |
isInitialised()
Indicates whether this dynamic pane has been initialised or not |
void |
setDividerLocation(String newDividerLocation)
Sets the location of the divider on the split pane. |
void |
setDividerSize(int newSize)
Sets the divider size to the given value |
void |
setInitialised(boolean initialised)
Sets whether this dynamic pane has been initialised or not |
void |
setMaxBottomRight(Point maxBottomRight)
Sets the maximum bottom and right values the divider can go to |
void |
setMaxTopLeft(Point maxTopLeft)
Sets the maximum top and left values the divider can go to |
void |
setSize(Dimension size)
This is overriden in order to set the correct constraints whenever the size changes in by any means |
void |
setSize(int width,
int height)
This is overriden in order to set the correct constraints whenever the size changes in by any means |
void |
setStepSize(int stepSize)
When the dynamic pane is resizing, you can specify the incrementing values so that it snaps to certain sizes when the user releases the mouse. |
void |
setTargetParent(Container targetParent)
Sets the container which needs to be layed out when the divider moves. |
| 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 |
| Constructor Detail |
public BDynamicPane(Frame parent,
String dividerLocation)
newDividerLocation - BorderLayout.EAST BorderLayout.NORTH BorderLayout.SOUTH BorderLayout.WEST
Please complete the missing tags for BDynamicPane| Method Detail |
public String getDividerLocation()
- public void setStepSize(int stepSize)
stepSize - The step size in pixelspublic int getStepSize()
This method will get the step size currently set
The - step size in pixels, -1 if nonepublic void setMaxTopLeft(Point maxTopLeft)
maxTopLeft - The limitspublic void setMaxBottomRight(Point maxBottomRight)
maxTopLeft - The limitspublic void setTargetParent(Container targetParent)
targetParent - The container to layout
Please complete the missing tags for setTargetParentpublic void setInitialised(boolean initialised)
initialised - True if it has, false otherwise
Please complete the missing tags for setInitialisedpublic void setDividerLocation(String newDividerLocation)
newDividerLocation - BorderLayout.EAST BorderLayout.NORTH BorderLayout.SOUTH BorderLayout.WEST
Please complete the missing tags for setDividerLocationpublic boolean isInitialised()
-
protected void addImpl(Component component,
Object constraints,
int index)
component - The component being addedconstraints - The constraints for the additionindex - The index to add it at
Please complete the missing tags for addImplpublic void setDividerSize(int newSize)
newSize - The new size in pixels
public void setSize(int width,
int height)
width - The new width of the paneheight - The new height of the panepublic void setSize(Dimension size)
size - The new size of the pane
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||