|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.asset.SortInfo
public class SortInfo
Sort info contains the sort information of a TableAssembly.
| Constructor Summary | |
|---|---|
SortInfo()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addSort(int index,
SortRef ref)
Add one sort ref. |
void |
addSort(SortRef ref)
Add one sort ref. |
void |
clear()
Clear all the sort refs. |
Object |
clone()
Clone the object. |
boolean |
containsSort(DataRef ref)
Check if contains the sort ref. |
boolean |
equals(Object obj)
Check if equals another object. |
boolean |
equalsContent(Object obj)
Check if equals another object in content. |
PropertyChangeListener |
getListener()
Get the listener to monitor the change of column selection. |
SortRef |
getSort(DataRef ref)
Get the sort ref. |
SortRef |
getSort(int index)
Get the sort ref. |
int |
getSortCount()
Get the sort ref count. |
SortRef[] |
getSorts()
Get all the sort refs. |
int |
hashCode()
Get the hash code. |
boolean |
isEmpty()
Check if the sort info is empty. |
void |
parseXML(Element elem)
Method to parse an xml segment. |
boolean |
printKey(PrintWriter writer)
Print the key to identify this content object. |
void |
removeSort(DataRef ref)
Remove the sort ref. |
void |
removeSort(int index)
Remove the sort ref. |
void |
setListener(PropertyChangeListener listener)
Set the listener to monitor the change of column selection. |
String |
toString()
Get the string representation. |
void |
validate(ColumnSelection columns)
Validate the group info. |
void |
writeXML(PrintWriter writer)
Write the xml segment to print writer. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SortInfo()
| Method Detail |
|---|
public SortRef getSort(DataRef ref)
ref - the specified attribute.
public SortRef getSort(int index)
index - the specified index.
public SortRef[] getSorts()
public int getSortCount()
public boolean containsSort(DataRef ref)
ref - the specified attribute.
public void addSort(SortRef ref)
ref - the specified attribute.
public void addSort(int index,
SortRef ref)
ref - the specified attribute.index - the specified index.public void removeSort(DataRef ref)
ref - the specified attribute.public void removeSort(int index)
index - the specified index.public void clear()
public boolean isEmpty()
public void validate(ColumnSelection columns)
columns - the specified column selection.public void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriter - the destination print writer.
public void parseXML(Element elem)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableelem - the specified xml element.
Exceptionpublic Object clone()
clone in interface AssetObjectclone in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - the specified object.
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
public boolean printKey(PrintWriter writer)
throws Exception
printKey in interface inetsoft.util.ContentObjectExceptionpublic boolean equalsContent(Object obj)
equalsContent in interface inetsoft.util.ContentObjectobj - the specified object.
public void setListener(PropertyChangeListener listener)
public PropertyChangeListener getListener()
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||