/** * Set the divider location. * * @param divider the divider * @param location new location */ public void setDividerLocation(JideSplitPaneDivider divider, int location) { setDividerLocation(indexOfDivider(divider), location); }
protected void dragDividerTo(int location) { _jideSplitPane.dragDividerTo(this, location); /* * Update the variables used by the one-touch expand/collapse buttons. */ _currentState = DEFAULT_STATE; int indexOfDivider = _jideSplitPane.indexOfDivider(JideSplitPaneDivider.this); _lastPosition = _jideSplitPane.getDividerLocation(indexOfDivider); }
int indexOfDivider = _jideSplitPane.indexOfDivider(JideSplitPaneDivider.this); int dividerPosition = _jideSplitPane.getDividerLocation(indexOfDivider); int previousDividerPosition = getPreviousDividerLocation(true, false); int indexOfDivider = _jideSplitPane.indexOfDivider(JideSplitPaneDivider.this); _lastPosition = _jideSplitPane.getDividerLocation(indexOfDivider); int loc = getPreviousDividerLocation(true, false); int indexOfDivider = _jideSplitPane.indexOfDivider(JideSplitPaneDivider.this); int dividerPosition = _jideSplitPane.getDividerLocation(indexOfDivider); int nextDividerPosition = getNextDividerLocation(true, false); int indexOfDivider = _jideSplitPane.indexOfDivider(JideSplitPaneDivider.this); _lastPosition = _jideSplitPane.getDividerLocation(indexOfDivider); int loc = getNextDividerLocation(true, false);
int index = indexOfDivider(divider); int location = -1; if (reversed) {
int index = indexOfDivider(divider); int location = -1; if (!reversed) {