|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oberon.ooql.sdk.FormUserItem
public class FormUserItem
Form
- Item
instance associated to a specific user
Nested Class Summary | |
---|---|
static class |
FormUserItem.Value
Value element: combines the effective value with display value |
static class |
FormUserItem.ValueComparator
Comparator for sorting the values based on the display value |
Constructor Summary | |
---|---|
FormUserItem(Item item,
java.util.Vector<java.lang.Object> filterArgs,
Framework framework)
Constructor |
|
FormUserItem(Item item,
java.util.Vector<java.lang.Object> filterArgs,
Framework framework,
java.util.Hashtable<java.lang.String,java.lang.Integer> counters)
Constructor |
Method Summary | |
---|---|
static FormUserItem |
fromXML(org.jdom.Element rootElement)
Create a FormUserItem object from XML element tree |
int |
getFieldType()
Get the Item - field type |
java.lang.String |
getFormat()
Get the Output/Input format |
double |
getHeight()
Get the Item height |
Item |
getItem()
Deprecated. |
java.lang.String |
getItemFormName()
Get the name of Item in Form control |
java.lang.String |
getItemValue()
Get the Item value or parameters |
java.lang.String |
getLabel()
Return the Item label |
java.lang.String |
getName()
Return the Item name |
java.util.Vector<FormUserItem.Value> |
getRanges()
Get the Item ranges |
int |
getType()
Get the Item type |
java.lang.String |
getUnitMeasure()
Get the Item unit measure |
FormUserItem.Value |
getValue()
Get the Item value |
double |
getWidth()
Get the Item width |
boolean |
hasRangeProgram()
Check if the Item - field has a own range program |
boolean |
isDisabled()
Check if the Item is disabled for the framework user |
boolean |
isEditable()
Check if the Item is editable by framework user |
boolean |
isFieldMultipleSelection()
Check if the Item - field is enabled to multiple selection. |
boolean |
isRequired()
Check if the Item is required for the framework user |
void |
setEditable(boolean editable)
Set whether or not the Item is editable by framework user |
void |
setLabel(java.lang.String label)
Set the Item label |
void |
setRangeProgram(boolean hasProgram)
Set if field has a own range program |
void |
setRanges(java.util.Vector<FormUserItem.Value> ranges)
Set the Item ranges |
void |
setUnitMeasure(java.lang.String um)
Set the Item unit measure |
void |
setValue(FormUserItem.Value value)
Set the Item value |
void |
setValue(java.lang.String value)
Set the Item value |
java.lang.String |
toString()
Show the Form Item status for the current framework user |
org.jdom.Element |
toXML()
Return the FormUserItem object properties as XML element tree |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FormUserItem(Item item, java.util.Vector<java.lang.Object> filterArgs, Framework framework) throws OberonException
item
- the Form ItemfilterArgs
- extra arguments used to compute the user accessframework
- the user framework
OberonException
public FormUserItem(Item item, java.util.Vector<java.lang.Object> filterArgs, Framework framework, java.util.Hashtable<java.lang.String,java.lang.Integer> counters)
item
- the Form ItemfilterArgs
- extra arguments used to compute the user accessframework
- the user frameworkcounters
- administrative object synch counters (if null read them from database)Method Detail |
---|
public void setEditable(boolean editable)
Item
is editable by framework user
public boolean isEditable()
Item
is editable by framework user
public boolean isRequired()
Item
is required for the framework user
public boolean isDisabled()
Item
is disabled for the framework user
public void setValue(java.lang.String value)
Item
value
public void setValue(FormUserItem.Value value)
Item
value
public FormUserItem.Value getValue()
Item
value
public void setUnitMeasure(java.lang.String um)
Item
unit measure
public java.lang.String getUnitMeasure()
Item
unit measure
public void setRanges(java.util.Vector<FormUserItem.Value> ranges)
Item
ranges
public java.util.Vector<FormUserItem.Value> getRanges()
Item
ranges
@Deprecated public Item getItem()
public java.lang.String getName()
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public int getType()
public int getFieldType()
public java.lang.String getFormat()
public java.lang.String getItemValue()
public double getWidth()
public double getHeight()
public boolean isFieldMultipleSelection()
public void setRangeProgram(boolean hasProgram)
public boolean hasRangeProgram()
public java.lang.String getItemFormName()
public java.lang.String toString()
toString
in class java.lang.Object
public org.jdom.Element toXML()
public static FormUserItem fromXML(org.jdom.Element rootElement) throws OberonException
OberonException
|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |