com.alee.extended.tab
Class DocumentPaneState

java.lang.Object
  extended by com.alee.extended.tab.DocumentPaneState
All Implemented Interfaces:
java.io.Serializable

public class DocumentPaneState
extends java.lang.Object
implements java.io.Serializable

Object used to store WebDocumentPane documents structure state.

Author:
Mikle Garin
See Also:
WebDocumentPane.getDocumentPaneState(), WebDocumentPane.setDocumentPaneState(DocumentPaneState), Serialized Form

Constructor Summary
DocumentPaneState()
           
DocumentPaneState(int orientation, double dividerLocation, Pair<DocumentPaneState,DocumentPaneState> splitState)
           
DocumentPaneState(java.lang.String selectedId, java.util.List<java.lang.String> documentIds)
           
 
Method Summary
 java.lang.Double getDividerLocation()
           
 java.util.List<java.lang.String> getDocumentIds()
           
 java.lang.String getSelectedId()
           
 java.lang.Integer getSplitOrientation()
           
 Pair<DocumentPaneState,DocumentPaneState> getSplitState()
           
 java.lang.Boolean isSplit()
           
 void setDividerLocation(java.lang.Double location)
           
 void setDocumentIds(java.util.List<java.lang.String> documentIds)
           
 void setSelectedId(java.lang.String selectedId)
           
 void setSplit(java.lang.Boolean split)
           
 void setSplitOrientation(java.lang.Integer orientation)
           
 void setSplitState(Pair<DocumentPaneState,DocumentPaneState> splitState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentPaneState

public DocumentPaneState()

DocumentPaneState

public DocumentPaneState(java.lang.String selectedId,
                         java.util.List<java.lang.String> documentIds)

DocumentPaneState

public DocumentPaneState(int orientation,
                         double dividerLocation,
                         Pair<DocumentPaneState,DocumentPaneState> splitState)
Method Detail

isSplit

public java.lang.Boolean isSplit()

setSplit

public void setSplit(java.lang.Boolean split)

getSelectedId

public java.lang.String getSelectedId()

setSelectedId

public void setSelectedId(java.lang.String selectedId)

getDocumentIds

public java.util.List<java.lang.String> getDocumentIds()

setDocumentIds

public void setDocumentIds(java.util.List<java.lang.String> documentIds)

getSplitOrientation

public java.lang.Integer getSplitOrientation()

setSplitOrientation

public void setSplitOrientation(java.lang.Integer orientation)

getDividerLocation

public java.lang.Double getDividerLocation()

setDividerLocation

public void setDividerLocation(java.lang.Double location)

getSplitState

public Pair<DocumentPaneState,DocumentPaneState> getSplitState()

setSplitState

public void setSplitState(Pair<DocumentPaneState,DocumentPaneState> splitState)