- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.SplitPaneUI
-
- Direct Known Subclasses:
- BasicSplitPaneUI, MultiSplitPaneUI
public abstract class SplitPaneUI extends ComponentUI
Pluggable look and feel interface for JSplitPane.
-
-
Constructor Summary
Constructors Constructor and Description SplitPaneUI()
-
Method Summary
Methods Modifier and Type Method and Description abstract void
finishedPaintingChildren(JSplitPane jc, Graphics g)
Messaged after the JSplitPane the receiver is providing the look and feel for paints its children.abstract int
getDividerLocation(JSplitPane jc)
Returns the location of the divider.abstract int
getMaximumDividerLocation(JSplitPane jc)
Returns the maximum possible location of the divider.abstract int
getMinimumDividerLocation(JSplitPane jc)
Returns the minimum possible location of the divider.abstract void
resetToPreferredSizes(JSplitPane jc)
Messaged to relayout the JSplitPane based on the preferred size of the children components.abstract void
setDividerLocation(JSplitPane jc, int location)
Sets the location of the divider to location.-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
-
-
-
Method Detail
-
resetToPreferredSizes
public abstract void resetToPreferredSizes(JSplitPane jc)
Messaged to relayout the JSplitPane based on the preferred size of the children components.
-
setDividerLocation
public abstract void setDividerLocation(JSplitPane jc, int location)
Sets the location of the divider to location.
-
getDividerLocation
public abstract int getDividerLocation(JSplitPane jc)
Returns the location of the divider.
-
getMinimumDividerLocation
public abstract int getMinimumDividerLocation(JSplitPane jc)
Returns the minimum possible location of the divider.
-
getMaximumDividerLocation
public abstract int getMaximumDividerLocation(JSplitPane jc)
Returns the maximum possible location of the divider.
-
finishedPaintingChildren
public abstract void finishedPaintingChildren(JSplitPane jc, Graphics g)
Messaged after the JSplitPane the receiver is providing the look and feel for paints its children.
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/plaf/SplitPaneUI.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.