Package com.groiss.gui.component
Class SortableLink
java.lang.Object
com.groiss.gui.AbstractComponent
com.groiss.gui.component.Link
com.groiss.gui.component.SortableLink
- All Implemented Interfaces:
Component
,Serializable
,Cloneable
,Comparable<Object>
A HTML link element (a) which can be sorted according to an additional attribute, the sortString.
The sortString must be set via
setSortString(String)
. Sorting is case insensitive.
A SortableLink without a href will be rendered as a span.- See Also:
-
Field Summary
Fields inherited from class com.groiss.gui.AbstractComponent
ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, ON_CHANGE, ON_CLICK, ON_DBLCLICK, ON_FOCUS, ON_KEY_DOWN, ON_KEY_PRESS, ON_KEY_UP, ON_LOAD, ON_MOUSE_DOWN, ON_MOUSE_MOVE, ON_MOUSE_OUT, ON_MOUSE_UP, ON_RESET, ON_SELECT, ON_SUBMIT, ON_UNLOAD, parent, parentElem, READONLY, root, viewMode
Fields inherited from interface com.groiss.gui.Component
LABELLEDBY
-
Constructor Summary
ConstructorDescriptionSortableLink
(String href, Component text) SortableLink
(String href, String text) SortableLink
(String href, String text, String target) -
Method Summary
Modifier and TypeMethodDescriptionGets the sortStingvoid
sets the link urlvoid
Sets sortString (the string by which this link is sorted)Methods inherited from class com.groiss.gui.component.Link
addContent, compareTo, getContent, getHref, getTarget, getText, setContent, setTarget, setText, setText
Methods inherited from class com.groiss.gui.AbstractComponent
addClass, clone, create, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, removeClass, setActionListener, setAttribute, setBrowserMode, setClass, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toggleClass, toString
-
Constructor Details
-
SortableLink
-
SortableLink
-
SortableLink
-
-
Method Details