Home / Development / Documentation / 2.0.44 / MarginInput
TreeGraph 2
 


info.bioinfweb.treegraph.gui.dialogs
Class MarginInput

java.lang.Object
  extended by info.bioinfweb.treegraph.gui.dialogs.MarginInput

public class MarginInput
extends Object


Field Summary
private  DistanceValueInput bottom
           
private  DistanceValueInput left
           
private  DistanceValueInput right
           
private  JLabel titleLabel
           
private  DistanceValueInput top
           
 
Constructor Summary
MarginInput(String title, JPanel panel, int y0)
           
 
Method Summary
 void assignValueTo(Margin m)
          Assigns the current values of the text-fields to the given Margin.
 DistanceValueInput getBottom()
           
 DistanceValueInput getLeft()
           
 DistanceValueInput getRight()
           
 JLabel getTitleLabel()
           
 DistanceValueInput getTop()
           
private  void initLabel(String title, JPanel panel, int y)
           
 void resetChangeMonitors()
           
 void setValue(Margin m)
          Assigns the given value to the text-fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

titleLabel

private JLabel titleLabel

left

private DistanceValueInput left

right

private DistanceValueInput right

top

private DistanceValueInput top

bottom

private DistanceValueInput bottom
Constructor Detail

MarginInput

public MarginInput(String title,
                   JPanel panel,
                   int y0)
Method Detail

initLabel

private void initLabel(String title,
                       JPanel panel,
                       int y)

getBottom

public DistanceValueInput getBottom()

getLeft

public DistanceValueInput getLeft()

getRight

public DistanceValueInput getRight()

getTitleLabel

public JLabel getTitleLabel()

getTop

public DistanceValueInput getTop()

setValue

public void setValue(Margin m)
Assigns the given value to the text-fields.

Parameters:
m -

assignValueTo

public void assignValueTo(Margin m)
Assigns the current values of the text-fields to the given Margin.

Parameters:
m -

resetChangeMonitors

public void resetChangeMonitors()