org.nakedobjects.perspectives.fieldorder
Class FieldOrder

java.lang.Object
  extended byorg.nakedobjects.perspectives.fieldorder.FieldOrder

public final class FieldOrder
extends java.lang.Object


Constructor Summary
FieldOrder()
           
 
Method Summary
 void add(NakedField nakedField)
          Adds the specified NakedField to the collection of fields already held.
 java.lang.String fieldNames()
          returns the field names, in order, as a comma separated string
 java.util.Vector fieldNamesVector()
          returns a field names, in order, as a Vector of strings.
 java.lang.String toString()
          string representation of the field order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldOrder

public FieldOrder()
Method Detail

add

public void add(NakedField nakedField)
Adds the specified NakedField to the collection of fields already held. The field order is automatically recalculated.

See Also:
fieldNames(), fieldNamesVector()

fieldNames

public java.lang.String fieldNames()
returns the field names, in order, as a comma separated string

See Also:
fieldNamesVector()

fieldNamesVector

public java.util.Vector fieldNamesVector()
returns a field names, in order, as a Vector of strings.

See Also:
fieldNames()

toString

public java.lang.String toString()
string representation of the field order.