Method getOrientation()
Return type: int
Member of:
javax.swing.JSplitPane
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (getOrientation() == VERTICAL_SPLIT) {
2
result.put(ORIENTATION_DPROP, (((JSplitPane)getSource()).getOrientation() == JSplitPane.HORIZONTAL_SPLIT) ?
3
if(sp.getOrientation() == JSplitPane.VERTICAL_SPLIT) {
4
int orientation = splitPane.getOrientation();
5
if(splitPane.getOrientation() == JSplitPane.HORIZONTAL_SPLIT)
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.