Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## info.bioinfweb.treegraph.gui.dialogs
Class MarginInput

    java.lang.Object
      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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD