com.partnersoft.gui.forms
Class FormDirectionField
java.lang.Object
com.partnersoft.gui.forms.AbstractFormField<XyDirection>
com.partnersoft.gui.forms.FormDirectionField
- All Implemented Interfaces:
- FormField<XyDirection>
public class FormDirectionField
- extends AbstractFormField<XyDirection>
A FormField to specify angular direction. Note that there are
various ways to set the direction, but getValue() will return the forward bearing (bearing as measured
from the reference point to the point being surveyed). Use getForwardDirection(), getBackwardDirection(), or getDeflection() to
get different varieties or for more clarity.
Copyright 2009 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Paul Reavis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormDirectionField
public FormDirectionField()
getValue
public XyDirection getValue()
- Description copied from interface:
FormField
- Returns the current value for this field.
setValue
public void setValue(XyDirection newValue)
- Description copied from interface:
FormField
- Sets the current value for this field.
setBackspanDirection
public void setBackspanDirection(XyDirection newDirection)
getBackspanDirection
public XyDirection getBackspanDirection()
getFormPanel
public javax.swing.JPanel getFormPanel()