< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java
Print this page
*** 52,62 ****
* Serialized objects of this class will not be compatible with
* future Swing releases. The current serialization support is
* appropriate for short term storage or RMI between applications running
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
! * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*
* @author Scott Violet
*/
@SuppressWarnings("serial") // Same-version serialization only
--- 52,62 ----
* Serialized objects of this class will not be compatible with
* future Swing releases. The current serialization support is
* appropriate for short term storage or RMI between applications running
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
! * has been added to the {@code java.beans} package.
* Please see {@link java.beans.XMLEncoder}.
*
* @author Scott Violet
*/
@SuppressWarnings("serial") // Same-version serialization only
*** 359,369 ****
/**
* Messaged when the oneTouchExpandable value of the JSplitPane the
* receiver is contained in changes. Will create the
! * <code>leftButton</code> and <code>rightButton</code> if they
* are null. invalidates the receiver as well.
*/
protected void oneTouchExpandableChanged() {
if (!DefaultLookup.getBoolean(splitPane, splitPaneUI,
"SplitPane.supportsOneTouchButtons", true)) {
--- 359,369 ----
/**
* Messaged when the oneTouchExpandable value of the JSplitPane the
* receiver is contained in changes. Will create the
! * {@code leftButton} and {@code rightButton} if they
* are null. invalidates the receiver as well.
*/
protected void oneTouchExpandableChanged() {
if (!DefaultLookup.getBoolean(splitPane, splitPaneUI,
"SplitPane.supportsOneTouchButtons", true)) {
*** 685,706 ****
/**
* Handles the events during a dragging session for a
* HORIZONTAL_SPLIT oriented split pane. This continually
! * messages <code>dragDividerTo</code> and then when done messages
! * <code>finishDraggingTo</code>. When an instance is created it should be
! * messaged with <code>isValid</code> to insure that dragging can happen
* (dragging won't be allowed if the two views can not be resized).
* <p>
* <strong>Warning:</strong>
* Serialized objects of this class will not be compatible with
* future Swing releases. The current serialization support is
* appropriate for short term storage or RMI between applications running
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
! * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*/
@SuppressWarnings("serial") // Same-version serialization only
protected class DragController
{
--- 685,706 ----
/**
* Handles the events during a dragging session for a
* HORIZONTAL_SPLIT oriented split pane. This continually
! * messages {@code dragDividerTo} and then when done messages
! * {@code finishDraggingTo}. When an instance is created it should be
! * messaged with {@code isValid} to insure that dragging can happen
* (dragging won't be allowed if the two views can not be resized).
* <p>
* <strong>Warning:</strong>
* Serialized objects of this class will not be compatible with
* future Swing releases. The current serialization support is
* appropriate for short term storage or RMI between applications running
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
! * has been added to the {@code java.beans} package.
* Please see {@link java.beans.XMLEncoder}.
*/
@SuppressWarnings("serial") // Same-version serialization only
protected class DragController
{
*** 857,869 ****
/**
* Handles the events during a dragging session for a
* VERTICAL_SPLIT oriented split pane. This continually
! * messages <code>dragDividerTo</code> and then when done messages
! * <code>finishDraggingTo</code>. When an instance is created it should be
! * messaged with <code>isValid</code> to insure that dragging can happen
* (dragging won't be allowed if the two views can not be resized).
*/
protected class VerticalDragController extends DragController
{
/* DragControllers ivars are now in terms of y, not x. */
--- 857,869 ----
/**
* Handles the events during a dragging session for a
* VERTICAL_SPLIT oriented split pane. This continually
! * messages {@code dragDividerTo} and then when done messages
! * {@code finishDraggingTo}. When an instance is created it should be
! * messaged with {@code isValid} to insure that dragging can happen
* (dragging won't be allowed if the two views can not be resized).
*/
protected class VerticalDragController extends DragController
{
/* DragControllers ivars are now in terms of y, not x. */
*** 946,956 ****
}
} // End of BasicSplitPaneDividier.VerticalDragController
/**
! * Used to layout a <code>BasicSplitPaneDivider</code>.
* Layout for the divider
* involves appropriately moving the left/right buttons around.
*
*/
protected class DividerLayout implements LayoutManager
--- 946,956 ----
}
} // End of BasicSplitPaneDividier.VerticalDragController
/**
! * Used to layout a {@code BasicSplitPaneDivider}.
* Layout for the divider
* involves appropriately moving the left/right buttons around.
*
*/
protected class DividerLayout implements LayoutManager
< prev index next >