Class BasicSplitPaneUI.BasicVerticalLayoutManager
java.lang.Object
javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager
javax.swing.plaf.basic.BasicSplitPaneUI.BasicVerticalLayoutManager
- All Implemented Interfaces:
LayoutManager, LayoutManager2
- Enclosing class:
BasicSplitPaneUI
public non-sealed class BasicSplitPaneUI.BasicVerticalLayoutManager
extends BasicSplitPaneUI.BasicHorizontalLayoutManager
LayoutManager used for JSplitPanes with an orientation of
VERTICAL_SPLIT.
-
Field Summary
Fields declared in class BasicSplitPaneUI.BasicHorizontalLayoutManager
components, sizesModifier and TypeFieldDescriptionprotected Component[]The components.protected int[]The size of components. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance ofBasicVerticalLayoutManager. -
Method Summary
Methods declared in class BasicSplitPaneUI.BasicHorizontalLayoutManager
addLayoutComponent, addLayoutComponent, getAvailableSize, getInitialLocation, getLayoutAlignmentX, getLayoutAlignmentY, getPreferredSizeOfComponent, getSizeOfComponent, getSizes, invalidateLayout, layoutContainer, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, resetSizeAt, resetToPreferredSizes, setComponentToSize, setSizes, updateComponentsModifier and TypeMethodDescriptionvoidaddLayoutComponent(Component comp, Object constraints) Adds the specified component to the layout, using the specified constraint object.voidaddLayoutComponent(String place, Component component) Adds the component at place.protected intgetAvailableSize(Dimension containerSize, Insets insets) Returns the available width based on the container size andInsets.protected intgetInitialLocation(Insets insets) Returns the left inset, unless theInsetsare null in which case 0 is returned.floatgetLayoutAlignmentX(Container target) Returns the alignment along the x axis.floatgetLayoutAlignmentY(Container target) Returns the alignment along the y axis.protected intReturns the width of the passed in Components preferred size.protected intReturns the width of the passed in component.protected int[]getSizes()Returns the sizes of the components.voidDoes nothing.voidlayoutContainer(Container container) Does the actual layout.maximumLayoutSize(Container target) Returns the maximum layout size, which is Integer.MAX_VALUE in both directions.minimumLayoutSize(Container container) Returns the minimum size needed to contain the children.preferredLayoutSize(Container container) Returns the preferred size needed to contain the children.voidremoveLayoutComponent(Component component) Removes the specified component from our knowledge.protected voidresetSizeAt(int index) Resets the size of the Component at the passed in location.voidMarks the receiver so that the next time this instance is laid out it'll ask for the preferred sizes.protected voidsetComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize) Sets the width of the componentcto besize, placing its x location atlocation, y to theinsets.topand height to thecontainerSize.heightless the top and bottom insets.protected voidsetSizes(int[] newSizes) Sets the sizes tonewSizes.protected voidDetermines the components.Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()Creates and returns a copy of this object.booleanIndicates whether some other object is "equal to" this one.protected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.Finalization is deprecated and subject to removal in a future release.final Class<?> getClass()Returns the runtime class of thisObject.inthashCode()Returns a hash code value for this object.final voidnotify()Wakes up a single thread that is waiting on this object's monitor.final voidWakes up all threads that are waiting on this object's monitor.toString()Returns a string representation of the object.final voidwait()Causes the current thread to wait until it is awakened, typically by being notified or interrupted.final voidwait(long timeoutMillis) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.final voidwait(long timeoutMillis, int nanos) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
-
Constructor Details
-
BasicVerticalLayoutManager
public BasicVerticalLayoutManager()Constructs a new instance ofBasicVerticalLayoutManager.
-