com.sage.swt.client.widget.sortpanel
Class SortField

java.lang.Object
  extended by com.sage.swt.client.widget.sortpanel.SortField

public class SortField
extends java.lang.Object

The Class SortField.


Constructor Summary
SortField(SortElement sortByField)
          Instantiates a new sort field.
SortField(SortElement sortByField, SortElement thenByField)
          Instantiates a new sort field.
 
Method Summary
 SortElement getSortByField()
          Gets the sort by field.
 SortElement getThenByField()
          Gets the then by field.
 boolean hasThenBy()
          Checks for then by.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortField

public SortField(SortElement sortByField)
Instantiates a new sort field.

Parameters:
sortByField - the sort by field

SortField

public SortField(SortElement sortByField,
                 SortElement thenByField)
Instantiates a new sort field.

Parameters:
sortByField - the sort by field
thenByField - the then by field
Method Detail

getSortByField

public SortElement getSortByField()
Gets the sort by field.

Returns:
the sort by field

getThenByField

public SortElement getThenByField()
Gets the then by field.

Returns:
the then by field

hasThenBy

public boolean hasThenBy()
Checks for then by.

Returns:
true, if successful


Copyright © 2011 Sage Software, Inc. All rights reserved.