|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.tab.SplitData<T>
public final class SplitData<T extends DocumentData>
Data for single split pane within document pane. It basically contains split pane and links to two other elements contained within split pane.
WebDocumentPane
Field Summary | |
---|---|
protected StructureData |
first
First split element. |
protected StructureData |
last
Last split element. |
protected int |
orientation
Split orientation. |
protected WebSplitPane |
splitPane
Actual split component. |
Constructor Summary | |
---|---|
SplitData(WebDocumentPane<T> documentPane,
int orientation,
StructureData first,
StructureData last)
Constructs new SplitData. |
Method Summary | |
---|---|
protected void |
changeSplitOrientation()
Changes split orientation. |
protected WebSplitPane |
createSplit(int orientation,
StructureData first,
StructureData last)
Returns new split component. |
PaneData<T> |
findClosestPane()
Returns closest PaneData. |
java.awt.Component |
getComponent()
Returns actual component behind this structure element. |
WebDocumentPane |
getDocumentPane()
Returns parent WebDocumentPane. |
StructureData |
getFirst()
Returns first split element. |
StructureData |
getLast()
Returns last split element. |
int |
getOrientation()
Returns split orientation. |
WebSplitPane |
getSplitPane()
Returns actual split component. |
void |
replace(StructureData element,
StructureData replacement)
Replaces specified element with new one. |
void |
setFirst(StructureData first)
Sets first split element. |
void |
setLast(StructureData last)
Sets last split element. |
void |
setOrientation(int orientation)
Sets split orientation. |
protected void |
updateSplitPaneCustomizer(WebDocumentPane<T> documentPane)
Updates split customizer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final WebSplitPane splitPane
protected int orientation
protected StructureData first
protected StructureData last
Constructor Detail |
---|
public SplitData(WebDocumentPane<T> documentPane, int orientation, StructureData first, StructureData last)
documentPane
- parent WebDocumentPaneorientation
- split orientationfirst
- first split elementlast
- last split elementMethod Detail |
---|
protected WebSplitPane createSplit(int orientation, StructureData first, StructureData last)
orientation
- split orientationfirst
- first split elementlast
- last split element
protected void changeSplitOrientation()
protected void updateSplitPaneCustomizer(WebDocumentPane<T> documentPane)
documentPane
- parent WebDocumentPanepublic java.awt.Component getComponent()
getComponent
in interface StructureData<T extends DocumentData>
public PaneData<T> findClosestPane()
findClosestPane
in interface StructureData<T extends DocumentData>
public WebDocumentPane getDocumentPane()
public WebSplitPane getSplitPane()
public int getOrientation()
public void setOrientation(int orientation)
orientation
- new split orientationpublic StructureData getFirst()
public void setFirst(StructureData first)
first
- new first split elementpublic StructureData getLast()
public void setLast(StructureData last)
last
- new last split elementpublic void replace(StructureData element, StructureData replacement)
element
- element to replacereplacement
- element replacement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |