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()Answers a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.booleanCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.protected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.May cause performance issues, deadlocks and hangs.getClass()Answers the unique instance of java.lang.Class which represents the class of the receiver.inthashCode()Answers an integer hash code for the receiver.final voidnotify()Causes one thread which iswaiting on the receiver to be made ready to run.final voidCauses all threads which arewaiting on the receiver to be made ready to run.toString()Answers a string containing a concise, human-readable description of the receiver.final voidwait()Causes the thread which sent this message to be made not ready to run pending some change in the receiver (as indicated bynotifyornotifyAll).final voidwait(long time) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.final voidwait(long time, int frac) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.
-
Constructor Details
-
BasicVerticalLayoutManager
public BasicVerticalLayoutManager()Constructs a new instance ofBasicVerticalLayoutManager.
-