Liking cljdoc? Tell your friends :D

jdk.awt.LayoutManager

Defines the interface for classes that know how to lay out Containers.

Swing's painting architecture assumes the children of a JComponent do not overlap. If a JComponent's LayoutManager allows children to overlap, the JComponent must override isOptimizedDrawingEnabled to return false.

Defines the interface for classes that know how to lay out
Containers.

Swing's painting architecture assumes the children of a
JComponent do not overlap.  If a
JComponent's LayoutManager allows
children to overlap, the JComponent must override
isOptimizedDrawingEnabled to return false.
raw docstring

add-layout-componentclj

(add-layout-component this name comp)

If the layout manager uses a per-component string, adds the component comp to the layout, associating it with the string specified by name.

name - the string to be associated with the component - java.lang.String comp - the component to be added - java.awt.Component

If the layout manager uses a per-component string,
 adds the component comp to the layout,
 associating it
 with the string specified by name.

name - the string to be associated with the component - `java.lang.String`
comp - the component to be added - `java.awt.Component`
raw docstring

layout-containerclj

(layout-container this parent)

Lays out the specified container.

parent - the container to be laid out - java.awt.Container

Lays out the specified container.

parent - the container to be laid out - `java.awt.Container`
raw docstring

minimum-layout-sizeclj

(minimum-layout-size this parent)

Calculates the minimum size dimensions for the specified container, given the components it contains.

parent - the component to be laid out - java.awt.Container

returns: java.awt.Dimension

Calculates the minimum size dimensions for the specified
 container, given the components it contains.

parent - the component to be laid out - `java.awt.Container`

returns: `java.awt.Dimension`
raw docstring

preferred-layout-sizeclj

(preferred-layout-size this parent)

Calculates the preferred size dimensions for the specified container, given the components it contains.

parent - the container to be laid out - java.awt.Container

returns: java.awt.Dimension

Calculates the preferred size dimensions for the specified
 container, given the components it contains.

parent - the container to be laid out - `java.awt.Container`

returns: `java.awt.Dimension`
raw docstring

remove-layout-componentclj

(remove-layout-component this comp)

Removes the specified component from the layout.

comp - the component to be removed - java.awt.Component

Removes the specified component from the layout.

comp - the component to be removed - `java.awt.Component`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close