public abstract class AbstractSortCommand extends AbstractUICommand<Void> implements SortCommand
Constructor and Description |
---|
AbstractSortCommand(PivotRenderer<?> renderer) |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute(RenderContext context) |
UICommandParameters |
createParameters(RenderContext context) |
String |
getMode(RenderContext context)
For commands that have a state that should be represented differently in
UI (i.e. different icons for each sort modes)
|
getDescription, getRenderer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getDescription, getName
public AbstractSortCommand(PivotRenderer<?> renderer)
renderer
- public String getMode(RenderContext context)
UICommand
getMode
in interface UICommand<Void>
getMode
in class AbstractUICommand<Void>
AbstractUICommand.getMode(com.eyeq.pivot4j.ui.RenderContext)
public UICommandParameters createParameters(RenderContext context)
createParameters
in interface UICommand<Void>
com.eyeq.pivot4j.ui.command.UICommand#createParameters(com.eyeq.pivot4j
.ui.RenderContext)
public boolean canExecute(RenderContext context)
canExecute
in interface UICommand<Void>
com.eyeq.pivot4j.ui.command.UICommand#canExecute(com.eyeq.pivot4j.ui
.RenderContext)
Copyright © 2012–2013 Eyeq MC. All rights reserved.