com.groiss.gui.component
Class ComparableComponent

java.lang.Object
  extended by com.groiss.gui.AbstractComponent
      extended by com.groiss.gui.component.ComparableComponent
All Implemented Interfaces:
Component, Serializable, Cloneable, Comparable

public class ComparableComponent
extends AbstractComponent
implements Comparable

A gui component with a compare value. This can be used for arbitrary html text in tables sorted be an extra comparable value.

See Also:
Serialized Form

Field Summary
protected  Comparable compareval
           
 
Fields inherited from class com.groiss.gui.AbstractComponent
actions, 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, outputter, parent, parentElem, READONLY, root, viewMode
 
Constructor Summary
ComparableComponent(Comparable compareval, org.jdom.Element root)
           
 
Method Summary
 int compareTo(Object other)
           
 Comparable getCompareval()
           
 
Methods inherited from class com.groiss.gui.AbstractComponent
clone, create, getActionListener, getAttribute, getBrowserMode, getContent, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, setActionListener, setAttribute, setBrowserMode, setContent, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

compareval

protected Comparable compareval
Constructor Detail

ComparableComponent

public ComparableComponent(Comparable compareval,
                           org.jdom.Element root)
Method Detail

compareTo

public int compareTo(Object other)
Specified by:
compareTo in interface Comparable

getCompareval

public Comparable getCompareval()


@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.