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

## com.maryanovsky.map.client.widgets.scale
Interface ScaleWidget.Scale

All Known Implementing Classes:
  EarthScale

Enclosing class:
  ScaleWidget

    public static interface ScaleWidget.Scale

Defines the size and values displayed by the scale widget.

Method Summary
`int` | `getSizePixels(MapWidget mapWidget)` Returns the size of the displayed scale, in pixels, or `0` if the scale should not be displayed.
`String` | `getSizeText(MapWidget mapWidget)` Returns the value displayed on the scale widget, or `null` if the scale value should not be displayed.

Method Detail

### getSizePixels

    int getSizePixels(MapWidget mapWidget)

  Returns the size of the displayed scale, in pixels, or `0` if the scale should not be displayed.

### getSizeText

    String getSizeText(MapWidget mapWidget)

  Returns the value displayed on the scale widget, or `null` if the scale value should not be displayed.

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