org.pdfsam.guiclient.commons.models
Class AbstractPdfSelectionTableModel.SortingState

java.lang.Object
  extended by org.pdfsam.guiclient.commons.models.AbstractPdfSelectionTableModel.SortingState
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
AbstractPdfSelectionTableModel

public class AbstractPdfSelectionTableModel.SortingState
extends java.lang.Object
implements java.io.Serializable

Model of a sorting state (column and sort type)

Author:
Andrea Vacondio
See Also:
Serialized Form

Constructor Summary
AbstractPdfSelectionTableModel.SortingState()
           
AbstractPdfSelectionTableModel.SortingState(int col, int sortType)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getCol()
           
 int getSortType()
           
 int hashCode()
           
 boolean isSorted()
           
 void setCol(int col)
           
 void setSortType(int sortType)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractPdfSelectionTableModel.SortingState

public AbstractPdfSelectionTableModel.SortingState()

AbstractPdfSelectionTableModel.SortingState

public AbstractPdfSelectionTableModel.SortingState(int col,
                                                   int sortType)
Parameters:
col -
sortType -
Method Detail

getCol

public int getCol()
Returns:
the col

setCol

public void setCol(int col)
Parameters:
col - the col to set

getSortType

public int getSortType()
Returns:
the sortType

setSortType

public void setSortType(int sortType)
Parameters:
sortType - the sortType to set

isSorted

public boolean isSorted()
Returns:
true if sorted

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object