|
||||||||||
| 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.basex.gui.layout.BaseXBack
org.basex.gui.layout.BaseXSplit
public final class BaseXSplit
Project specific Split panel implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.BaselineResizeBehavior |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, 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 | |
|---|---|
BaseXSplit(boolean lay)
Constructor. |
|
| Method Summary | |
|---|---|
Component |
add(Component comp)
|
void |
addLayoutComponent(String name,
Component comp)
Adds the specified component. |
void |
drag(BaseXSplitSep sep,
double p)
Reacts on splitter drags. |
void |
layoutContainer(Container parent)
Lays out the specified container using this layout. |
Dimension |
minimumLayoutSize(Container parent)
Determines the minimum container size (not implemented). |
Dimension |
preferredLayoutSize(Container parent)
Determines the preferred container size (not implemented). |
void |
removeAll()
|
void |
removeLayoutComponent(Component comp)
Removes the specified component. |
void |
startDrag(double p)
Starts split pane dragging. |
| Methods inherited from class org.basex.gui.layout.BaseXBack |
|---|
paintComponent, setBorder, setMode |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseXSplit(boolean lay)
lay - layout: horizontal = true, vertical = false| Method Detail |
|---|
public Component add(Component comp)
add in class Containerpublic void removeAll()
removeAll in class Containerpublic void startDrag(double p)
p - position
public void drag(BaseXSplitSep sep,
double p)
sep - separatorp - current position
public void addLayoutComponent(String name,
Component comp)
addLayoutComponent in interface LayoutManagername - the component namecomp - the component to be addedpublic void removeLayoutComponent(Component comp)
removeLayoutComponent in interface LayoutManagercomp - the component to be removedpublic Dimension preferredLayoutSize(Container parent)
preferredLayoutSize in interface LayoutManagerparent - the layout container
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize in interface LayoutManagerparent - the layout container
public void layoutContainer(Container parent)
layoutContainer in interface LayoutManagerparent - the layout container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||