Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
class: GroupLayout.AutoPreferredGapSpring [javadoc | source]
java.lang.Object
   javax.swing.GroupLayout.Spring
      javax.swing.GroupLayout$AutoPreferredGapSpring

Direct Known Subclasses:
    ContainerAutoPreferredGapSpring

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.
Field Summary
 List<ComponentSpring> sources     
 ComponentSpring source     
 int size     
 int lastSize     
Constructor:
 AutoPreferredGapSpring(int pref,
    int max) 
 AutoPreferredGapSpring(ComponentPlacement type,
    int pref,
    int max) 
Method from javax.swing.GroupLayout$AutoPreferredGapSpring Summary:
addTarget,   calculateMaximumSize,   calculateMinimumSize,   calculatePadding,   calculatePreferredSize,   getMatchDescription,   getUserCreated,   reset,   setSource,   setSources,   setUserCreated,   toString,   unset,   willHaveZeroSize
Methods from javax.swing.GroupLayout$Spring:
calculateMaximumSize,   calculateMinimumSize,   calculatePreferredSize,   constrain,   getAlignment,   getBaseline,   getBaselineResizeBehavior,   getMaximumSize,   getMinimumSize,   getParent,   getPreferredSize,   getSize,   isResizable,   setAlignment,   setParent,   setSize,   unset,   willHaveZeroSize
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.GroupLayout$AutoPreferredGapSpring Detail:
 public  void addTarget(ComponentSpring spring,
    int axis) 
 int calculateMaximumSize(int axis) 
 int calculateMinimumSize(int axis) 
 public  void calculatePadding(int axis) 
 int calculatePreferredSize(int axis) 
 String getMatchDescription() 
 public boolean getUserCreated() 
 public  void reset() 
 public  void setSource(ComponentSpring source) 
 public  void setSources(List<ComponentSpring> sources) 
 public  void setUserCreated(boolean userCreated) 
 public String toString() 
  void unset() 
 boolean willHaveZeroSize(boolean treatAutopaddingAsZeroSized)