|
||||||||||
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
org.jdesktop.swingx.JXMultiSplitPane
public class JXMultiSplitPane
All properties in this class are bound: when a properties value is changed, all PropertyChangeListeners are fired.
Nested Class Summary | |
---|---|
protected class |
JXMultiSplitPane.AccessibleMultiSplitPane
|
static class |
JXMultiSplitPane.DividerPainter
Draws a single Divider. |
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.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
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 | |
---|---|
JXMultiSplitPane()
Creates a JXMultiSplitPane with it's LayoutManager set to to an empty MultiSplitLayout. |
Method Summary | |
---|---|
MultiSplitLayout.Divider |
activeDivider()
Returns the Divider that's currently being moved, typically because the user is dragging it, or null. |
AccessibleContext |
getAccessibleContext()
Gets the AccessibleContext associated with this JPanel. |
JXMultiSplitPane.DividerPainter |
getDividerPainter()
The DividerPainter that's used to paint Dividers on this JXMultiSplitPane. |
int |
getDividerSize()
A convenience method that returns the MultiSplitLayout dividerSize property. |
MultiSplitLayout |
getMultiSplitLayout()
A convenience method that returns the layout manager cast to MutliSplitLayout. |
boolean |
isContinuousLayout()
Returns true if dragging a divider only updates the layout when the drag gesture ends (typically, when the mouse button is released). |
protected void |
paintChildren(Graphics g)
Uses the DividerPainter (if any) to paint each Divider that overlaps the clip Rectangle. |
void |
setContinuousLayout(boolean continuousLayout)
Sets the value of the continuousLayout property. |
void |
setDividerPainter(JXMultiSplitPane.DividerPainter dividerPainter)
Sets the DividerPainter that's used to paint Dividers on this JXMultiSplitPane. |
void |
setDividerSize(int dividerSize)
A convenience method that sets the MultiSplitLayout dividerSize property. |
void |
setModel(MultiSplitLayout.Node model)
A convenience method that sets the MultiSplitLayout model. |
Methods inherited from class javax.swing.JPanel |
---|
getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JXMultiSplitPane()
Method Detail |
---|
public final MultiSplitLayout getMultiSplitLayout()
Container.getLayout()
,
setModel(org.jdesktop.swingx.MultiSplitLayout.Node)
public final void setModel(MultiSplitLayout.Node model)
getMultiSplitLayout.setModel(model)
model
- the root of the MultiSplitLayout modelgetMultiSplitLayout()
,
MultiSplitLayout.setModel(org.jdesktop.swingx.MultiSplitLayout.Node)
public final void setDividerSize(int dividerSize)
getMultiSplitLayout().setDividerSize(newDividerSize)
.
dividerSize
- the value of the dividerSize propertygetMultiSplitLayout()
,
MultiSplitLayout.setDividerSize(int)
public final int getDividerSize()
getMultiSplitLayout().getDividerSize()
.
getMultiSplitLayout()
,
MultiSplitLayout.getDividerSize()
public void setContinuousLayout(boolean continuousLayout)
continuousLayout
property.
If true, then the layout is revalidated continuously while
a divider is being moved. The default value of this property
is true.
continuousLayout
- value of the continuousLayout propertyisContinuousLayout()
public boolean isContinuousLayout()
continuousLayout
propertysetContinuousLayout(boolean)
public MultiSplitLayout.Divider activeDivider()
public JXMultiSplitPane.DividerPainter getDividerPainter()
setDividerPainter(org.jdesktop.swingx.JXMultiSplitPane.DividerPainter)
public void setDividerPainter(JXMultiSplitPane.DividerPainter dividerPainter)
dividerPainter
- the value of the dividerPainter property, can be nullpaintChildren(java.awt.Graphics)
,
activeDivider()
protected void paintChildren(Graphics g)
super.paintChildren()
so that Dividers can be
rendered "on top of" the children.
Paints this component's children.
If shouldUseBuffer
is true,
no component ancestor has a buffer and
the component children can use a buffer if they have one.
Otherwise, one ancestor has a buffer currently in use and children
should not use a buffer to paint.
paintChildren
in class JComponent
g
- the Graphics
context in which to paintJComponent.paint(java.awt.Graphics)
,
Container.paint(java.awt.Graphics)
public AccessibleContext getAccessibleContext()
javax.swing.JPanel
getAccessibleContext
in interface Accessible
getAccessibleContext
in class JPanel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |