de.willuhn.jameica.gui.input.Input
, de.willuhn.jameica.gui.Part
public class UmsatzTypInput
extends de.willuhn.jameica.gui.input.SelectInput
Constructor | Description |
---|---|
UmsatzTypInput(UmsatzTyp preselected,
int typ) |
ct.
|
UmsatzTypInput(UmsatzTyp preselected,
int typ,
boolean includeUnassignedType) |
ct.
|
UmsatzTypInput(UmsatzTyp preselected,
UmsatzTyp skip,
int typ,
boolean unassigned) |
ct.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getValue() |
|
void |
setComment(java.lang.String comment) |
addListener, getData, getName, getParent, getStyleBits, hasChanged, isMandatory, paint, paint, setData, setInvalidChars, setMandatory, setName, setValidChars
public UmsatzTypInput(UmsatzTyp preselected, int typ) throws java.rmi.RemoteException
preselected
- der vorselectierte Umsatz-Typ.typ
- Filter auf Kategorie-Typen.
Kategorien vom Typ "egal" werden grundsaetzlich angezeigt.java.rmi.RemoteException
UmsatzTyp.TYP_AUSGABE
,
UmsatzTyp.TYP_EINNAHME
public UmsatzTypInput(UmsatzTyp preselected, int typ, boolean includeUnassignedType) throws java.rmi.RemoteException
preselected
- der vorselectierte Umsatz-Typ.typ
- Filter auf Kategorie-Typen.
Kategorien vom Typ "egal" werden grundsaetzlich angezeigt.includeUnassignedType
- der fiktive Typ "nicht zugeordnet" soll mit angeboten werdenjava.rmi.RemoteException
UmsatzTyp.TYP_AUSGABE
,
UmsatzTyp.TYP_EINNAHME
public UmsatzTypInput(UmsatzTyp preselected, UmsatzTyp skip, int typ, boolean unassigned) throws java.rmi.RemoteException
preselected
- der vorselectierte Umsatz-Typ.skip
- einzelner Umsatz-Typ, der nicht angeboten werden soll.
Damit ist es zum Beispiel moeglich, eine Endlos-Rekursion zu erzeugen,
wenn ein Parent ausgewaehlt werden soll, der User aber die Kategorie
sich selbst als Parent zuordnet.typ
- Filter auf Kategorie-Typen.
Kategorien vom Typ "egal" werden grundsaetzlich angezeigt.unassigned
- der fiktive Typ "nicht zugeordnet" soll mit angeboten werdenjava.rmi.RemoteException
UmsatzTyp.TYP_AUSGABE
,
UmsatzTyp.TYP_EINNAHME
public java.lang.Object getValue()
getValue
in interface de.willuhn.jameica.gui.input.Input
getValue
in class de.willuhn.jameica.gui.input.SelectInput
SelectInput.getValue()
public void setComment(java.lang.String comment)
setComment
in interface de.willuhn.jameica.gui.input.Input
setComment
in class de.willuhn.jameica.gui.input.AbstractInput
AbstractInput.setComment(java.lang.String)