Package org.adempiere.webui.window
Class WGadgets.ListElement
java.lang.Object
org.compiere.util.NamePair
org.adempiere.webui.window.WGadgets.ListElement
- All Implemented Interfaces:
Serializable,Comparable<Object>,Comparator<Object>
- Enclosing class:
- WGadgets
List Item
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionListElement(int key, String name, String namecontent, boolean isYes, int AD_Client_ID, int AD_Org_ID) -
Method Summary
Methods inherited from class org.compiere.util.NamePair
compare, compare, compareTo, compareTo, getName, toStringXMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
Method Details
-
getKey
public int getKey()- Returns:
- key
-
getM_namecontent
- Returns:
- name
-
setM_namecontent
- Parameters:
m_namecontent-
-
setIsYes
public void setIsYes(boolean value) - Parameters:
value-
-
isYes
public boolean isYes()- Returns:
- true if it is in yes list, false otherwise
-
getAD_Client_ID
public int getAD_Client_ID()- Returns:
- AD_Client_ID
-
getAD_Org_ID
public int getAD_Org_ID()- Returns:
- AD_Org_ID
-
getID
Description copied from class:NamePairReturns Key or Value as String -
hashCode
public int hashCode() -
equals
- Specified by:
equalsin interfaceComparator<Object>- Overrides:
equalsin classObject
-
toString
Description copied from class:NamePairTo String - returns name
-