org.jdesktop.layout

Class GroupLayout.ComponentInfo

private final class GroupLayout.ComponentInfo extends Object

Tracks the horizontal/vertical Springs for a Component. This class is also used to handle Springs that have their sizes linked.
Method Summary
voidclearCachedSize()
voiddispose()
ComponentgetComponent()
GroupLayout.LinkInfogetLinkInfo(int axis)
booleanisLinked(int axis)
Returns true if this component has its size linked to other components.
booleanisVisible()
voidsetBounds(Insets insets, int parentWidth, boolean ltr)
voidsetComponent(Component component)

Method Detail

clearCachedSize

public void clearCachedSize()

dispose

public void dispose()

getComponent

public Component getComponent()

getLinkInfo

public GroupLayout.LinkInfo getLinkInfo(int axis)

isLinked

public boolean isLinked(int axis)
Returns true if this component has its size linked to other components.

isVisible

public boolean isVisible()

setBounds

public void setBounds(Insets insets, int parentWidth, boolean ltr)

setComponent

public void setComponent(Component component)