|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tonbeller.jpivot.table.PartBuilderSupport
com.tonbeller.jpivot.table.TableComponentExtensionSupport
com.tonbeller.jpivot.table.navi.SortRankUI
public class SortRankUI
Sort Buttons
| Field Summary | |
|---|---|
static java.lang.String |
ID
|
| Fields inherited from class com.tonbeller.jpivot.table.TableComponentExtensionSupport |
|---|
enabled |
| Fields inherited from class com.tonbeller.jpivot.table.PartBuilderSupport |
|---|
table |
| Fields inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
|---|
EXTENSIONAL, INTENSIONAL |
| Constructor Summary | |
|---|---|
SortRankUI()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
unique name of this extension. |
int |
getSortMode()
|
int |
getTopBottomCount()
|
void |
initialize(com.tonbeller.wcf.controller.RequestContext context,
TableComponent table)
deferred ctor, called once after creation |
boolean |
isAvailable()
true, if the current olapModel supports all extensions that are required by this partBuilder. |
boolean |
isBreakHierarchy()
for easier GUI, user chooses a radio button out of "Keep Hierarchy", "Break Hierarchy" and "Topcount" |
boolean |
isKeepHierarchy()
|
boolean |
isRanking()
|
boolean |
isSorting()
|
boolean |
isTriState()
Returns the triState. |
void |
modelChanged(ModelChangeEvent e)
model data have changed, e.g. user has navigated |
void |
setBreakHierarchy(boolean b)
|
void |
setKeepHierarchy(boolean b)
|
void |
setRanking(boolean b)
|
void |
setSorting(boolean enabled)
|
void |
setSortMode(int mode)
sets the sort mode and the level style |
void |
setTopBottomCount(int topBottomCount)
|
void |
setTriState(boolean triState)
Sets the triState. |
void |
startBuild(com.tonbeller.wcf.controller.RequestContext context)
called before the DOM is built after the TableRenderer has been fully initialized |
void |
structureChanged(ModelChangeEvent e)
major change, e.g. extensions added/removed |
| Methods inherited from class com.tonbeller.jpivot.table.TableComponentExtensionSupport |
|---|
getBookmarkState, isEnabled, setBookmarkState, setEnabled |
| Methods inherited from class com.tonbeller.jpivot.table.PartBuilderSupport |
|---|
destroy, setDirty, stopBuild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tonbeller.jpivot.table.PartBuilder |
|---|
destroy, stopBuild |
| Field Detail |
|---|
public static final java.lang.String ID
| Constructor Detail |
|---|
public SortRankUI()
| Method Detail |
|---|
public java.lang.String getId()
TableComponentExtension
getId in interface TableComponentExtension
public void initialize(com.tonbeller.wcf.controller.RequestContext context,
TableComponent table)
throws java.lang.Exception
PartBuilder
initialize in interface PartBuilderinitialize in class PartBuilderSupportjava.lang.Exceptionpublic void startBuild(com.tonbeller.wcf.controller.RequestContext context)
PartBuilder
startBuild in interface PartBuilderstartBuild in class PartBuilderSupportpublic boolean isAvailable()
PartBuilder
isAvailable in interface PartBuilderisAvailable in interface AvailableisAvailable in class PartBuilderSupportpublic int getSortMode()
SortRankpublic int getTopBottomCount()
SortRankpublic boolean isSorting()
SortRankpublic void setSorting(boolean enabled)
SortRankpublic void setSortMode(int mode)
SortRankpublic void setTopBottomCount(int topBottomCount)
SortRankpublic boolean isTriState()
public void setTriState(boolean triState)
triState - The triState to setpublic void modelChanged(ModelChangeEvent e)
ModelChangeListener
modelChanged in interface ModelChangeListenerpublic void structureChanged(ModelChangeEvent e)
ModelChangeListener
structureChanged in interface ModelChangeListenerpublic boolean isBreakHierarchy()
public void setBreakHierarchy(boolean b)
public boolean isKeepHierarchy()
public void setKeepHierarchy(boolean b)
public boolean isRanking()
public void setRanking(boolean b)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||