|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 PartBuilder
initialize
in class PartBuilderSupport
java.lang.Exception
public void startBuild(com.tonbeller.wcf.controller.RequestContext context)
PartBuilder
startBuild
in interface PartBuilder
startBuild
in class PartBuilderSupport
public boolean isAvailable()
PartBuilder
isAvailable
in interface PartBuilder
isAvailable
in interface Available
isAvailable
in class PartBuilderSupport
public int getSortMode()
SortRank
public int getTopBottomCount()
SortRank
public boolean isSorting()
SortRank
public void setSorting(boolean enabled)
SortRank
public void setSortMode(int mode)
SortRank
public void setTopBottomCount(int topBottomCount)
SortRank
public boolean isTriState()
public void setTriState(boolean triState)
triState
- The triState to setpublic void modelChanged(ModelChangeEvent e)
ModelChangeListener
modelChanged
in interface ModelChangeListener
public void structureChanged(ModelChangeEvent e)
ModelChangeListener
structureChanged
in interface ModelChangeListener
public 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 |