de.sciss.gui
Class SpringPanel.ComponentWidthRatioSpring

java.lang.Object
  extended by javax.swing.Spring
      extended by de.sciss.gui.SpringPanel.ComponentWidthRatioSpring
Enclosing class:
SpringPanel

public static class SpringPanel.ComponentWidthRatioSpring
extends javax.swing.Spring


Field Summary
 
Fields inherited from class javax.swing.Spring
UNSET
 
Constructor Summary
SpringPanel.ComponentWidthRatioSpring(java.awt.Component c, int nom, int div)
           
 
Method Summary
 int getMaximumValue()
           
 int getMinimumValue()
           
 int getPreferredValue()
           
 int getValue()
           
 void setValue(int value)
           
 
Methods inherited from class javax.swing.Spring
constant, constant, height, max, minus, scale, sum, width
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringPanel.ComponentWidthRatioSpring

public SpringPanel.ComponentWidthRatioSpring(java.awt.Component c,
                                             int nom,
                                             int div)
Method Detail

getMinimumValue

public int getMinimumValue()
Specified by:
getMinimumValue in class javax.swing.Spring

getPreferredValue

public int getPreferredValue()
Specified by:
getPreferredValue in class javax.swing.Spring

getMaximumValue

public int getMaximumValue()
Specified by:
getMaximumValue in class javax.swing.Spring

getValue

public int getValue()
Specified by:
getValue in class javax.swing.Spring

setValue

public void setValue(int value)
Specified by:
setValue in class javax.swing.Spring