public static class DocumentViewer.ViewerLocation extends Object
| Constructor and Description |
|---|
DocumentViewer.ViewerLocation(boolean isAboveOrBelowAnotherViewer,
boolean isBesideAnotherViewer,
String identifier) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifier()
Get a short identifier string which is unique for the position of the viewer in the split layout.
|
boolean |
isAboveOrBelowAnotherViewer()
Whether or not the viewer is above/below another viewer in a split layout.
|
boolean |
isBesideAnotherViewer()
Whether or not the viewer is beside another in a split layout.
|
public DocumentViewer.ViewerLocation(boolean isAboveOrBelowAnotherViewer,
boolean isBesideAnotherViewer,
String identifier)
isAboveOrBelowAnotherViewer - Whether or not the viewer is above/below another viewer in a split layout.isBesideAnotherViewer - Whether or not the viewer is beside another in a split layout.identifier - a short identifier string which may be used for storing preferences. must not be null.public boolean isAboveOrBelowAnotherViewer()
public boolean isBesideAnotherViewer()
public String getIdentifier()