![]() Public Dimension minimumLayoutSize( Container target) Returns the minimum dimensions needed to layout the componentsĬontained in the specified target container. Subcomponents of the specified container. Overrides: preferredLayoutSize in class FlowLayout Parameters: target - the component which needs to be laid out Returns: the preferred dimensions to lay out the Public Dimension preferredLayoutSize( Container target) Returns the preferred dimensions for this layout given the components vgap - the vertical gap between components. hgap - the horizontal gap between components. Int vgap) Creates a new flow layout manager with the indicated alignment Parameters: align - the alignment value Since: JDK1.0 The value of the alignment argument must be one of Public EqualFlowLayout(int align) Constructs a new Flow Layout with the specified alignment and a Public EqualFlowLayout() Constructs a new Flow Layout with a centered alignment and aĭefault 5-unit horizontal and vertical gap. ObjectĬlone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait FlowLayoutĪddLayoutComponent, getAlignment, getHgap, getVgap, removeLayoutComponent, setAlignment, setHgap, setVgap, toString Returns the preferred dimensions for this layout given the components Returns the minimum dimensions needed to layout the componentsĬontained in the specified target container. FlowLayoutĬonstructs a new Flow Layout with a centered alignment and aĭefault 5-unit horizontal and vertical gap.Ĭonstructs a new Flow Layout with the specified alignment and aĬreates a new flow layout manager with the indicated alignmentĪnd the indicated horizontal and vertical gaps. The only difference is that it sizes the components so that they all have the same widthįields inherited from class java.awt. Public class EqualFlowLayout extends FlowLayoutĮqualFlowLayout is a layout manager that works the same way as FlowLayout. +- All Implemented Interfaces: LayoutManager, Serializable
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |