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, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class ComparableComponent
extends AbstractComponent
implements java.lang.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  java.lang.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(java.lang.Comparable compareval, org.jdom.Element root)
           
 
Method Summary
 int compareTo(java.lang.Object other)
           
 java.lang.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 java.lang.Comparable compareval
Constructor Detail

ComparableComponent

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

compareTo

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

getCompareval

public java.lang.Comparable getCompareval()


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.