info.bioinfweb.treegraph.gui.dialogs
Class MarginInput
java.lang.Object
info.bioinfweb.treegraph.gui.dialogs.MarginInput
public class MarginInput
- extends java.lang.Object
|
Constructor Summary |
MarginInput(java.lang.String title,
javax.swing.JPanel panel,
int y0)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
titleLabel
private javax.swing.JLabel titleLabel
left
private DistanceValueInput left
right
private DistanceValueInput right
top
private DistanceValueInput top
bottom
private DistanceValueInput bottom
MarginInput
public MarginInput(java.lang.String title,
javax.swing.JPanel panel,
int y0)
initLabel
private void initLabel(java.lang.String title,
javax.swing.JPanel panel,
int y)
getBottom
public DistanceValueInput getBottom()
getLeft
public DistanceValueInput getLeft()
getRight
public DistanceValueInput getRight()
getTitleLabel
public javax.swing.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 -