org.jdesktop.layout

Class GroupLayout.AutopaddingSpring

private class GroupLayout.AutopaddingSpring extends GroupLayout.Spring

Spring reprensenting the distance between any number of sources and targets. The targets and sources are computed during layout. An instance of this can either be dynamically created when autocreatePadding is true, or explicitly created by the developer.
Method Summary
voidaddTarget(GroupLayout.ComponentSpring spring, int axis)
voidcalculatePadding(int axis)
booleangetUserCreated()
voidreset()
voidsetSource(GroupLayout.ComponentSpring source)
voidsetSources(List sources)
voidsetUserCreated(boolean userCreated)
StringtoString()

Method Detail

addTarget

public void addTarget(GroupLayout.ComponentSpring spring, int axis)

calculatePadding

public void calculatePadding(int axis)

getUserCreated

public boolean getUserCreated()

reset

public void reset()

setSource

public void setSource(GroupLayout.ComponentSpring source)

setSources

public void setSources(List sources)

setUserCreated

public void setUserCreated(boolean userCreated)

toString

public String toString()