org.drools.guvnor.client.widgets.decoratedgrid
Class SortConfiguration

java.lang.Object
  extended by org.drools.guvnor.client.widgets.decoratedgrid.SortConfiguration

public class SortConfiguration
extends Object

Container for sort information. Encapsulated in a single class to avoid the need for multiple ValueChangeHandlers for all attributes affecting sorting on a Column.


Constructor Summary
SortConfiguration()
           
 
Method Summary
 int getColumnIndex()
           
 SortDirection getSortDirection()
           
 int getSortIndex()
           
 Boolean isSortable()
           
 void setColumnIndex(int columnIndex)
           
 void setSortable(Boolean isSortable)
           
 void setSortDirection(SortDirection sortDirection)
           
 void setSortIndex(int sortIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortConfiguration

public SortConfiguration()
Method Detail

getColumnIndex

public int getColumnIndex()

getSortDirection

public SortDirection getSortDirection()

getSortIndex

public int getSortIndex()

isSortable

public Boolean isSortable()

setColumnIndex

public void setColumnIndex(int columnIndex)

setSortable

public void setSortable(Boolean isSortable)

setSortDirection

public void setSortDirection(SortDirection sortDirection)

setSortIndex

public void setSortIndex(int sortIndex)


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.