ewe.io
Class SerialPortOptions

java.lang.Object
  extended byewe.data.DataObject
      extended byewe.io.SerialPortSpecs
          extended byewe.io.SerialPortOptions
All Implemented Interfaces:
Comparable, Copyable, DataUnit, FieldListener

public class SerialPortOptions
extends SerialPortSpecs
implements FieldListener

SerialPortOptions is a single object that specifies all the currently supported Serial Port options. To open a Serial Port, create one of these objects, setup the


Field Summary
static int ADVANCED_EDITOR
          This is an option when calling getEditor(int type) on this object.
 
Fields inherited from class ewe.io.SerialPortSpecs
baudRate, bits, parity, portName, stopBits
 
Constructor Summary
SerialPortOptions()
           
 
Method Summary
 void action(FieldTransfer ft, Editor ed)
           
 void action(String field, Editor ed)
           
 void fieldChanged(FieldTransfer ft, Editor ed)
           
 void fieldEvent(FieldTransfer ft, Editor ed, Object event)
           
 Editor getEditor(int whichEditor)
           
 
Methods inherited from class ewe.io.SerialPortSpecs
connect
 
Methods inherited from class ewe.data.DataObject
_getSetField, appendAllFields, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getDeclaredFieldValue, getFieldList, getFieldList, getMyFieldList, getNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, toString
 

Field Detail

ADVANCED_EDITOR

public static final int ADVANCED_EDITOR
This is an option when calling getEditor(int type) on this object.

See Also:
Constant Field Values
Constructor Detail

SerialPortOptions

public SerialPortOptions()
Method Detail

getEditor

public Editor getEditor(int whichEditor)

action

public void action(String field,
                   Editor ed)

action

public void action(FieldTransfer ft,
                   Editor ed)
Specified by:
action in interface FieldListener

fieldChanged

public void fieldChanged(FieldTransfer ft,
                         Editor ed)
Specified by:
fieldChanged in interface FieldListener

fieldEvent

public void fieldEvent(FieldTransfer ft,
                       Editor ed,
                       Object event)
Specified by:
fieldEvent in interface FieldListener