|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.webreport.beans.Name jet.webreport.beans.Property
public class Property
Property
contains description of the property of an object,
which can be a JReport object such as report, page, component, and so on.
Field Summary | |
---|---|
static int |
STRING_TYPE_FONT
|
static int |
STRING_TYPE_STRING
|
static int |
STRING_TYPE_STRINGLIST
|
Constructor Summary | |
---|---|
Property(java.lang.String name)
Creates a new Property instance by the specified name. |
Method Summary | |
---|---|
boolean |
canChangedByOthers()
Returns whether the property could be changed by others, for example changed by formulas. |
java.lang.String |
getDefaultValue()
Returns the default value of the property. |
java.lang.String[] |
getFormulaDisplays()
Returns the formula list for display that binds with this property. |
java.lang.String[] |
getFormulas()
Returns the formula list that binds with this property. |
int |
getStringType()
Returns the string type when this property type is a string. |
java.lang.String |
getValue()
Returns the value of the property. |
int |
getValueIndex()
Returns the index of the current value in value list. |
java.lang.String[] |
getValues()
Returns the value list of this property. |
java.lang.String[] |
getValuesForDisplay()
Returns the property value list used for display. |
boolean |
isChangedByOthers()
Returns whether the property has been changed by others. |
boolean |
isDisabled()
Returns whether the property is disabled. |
void |
setCanChangedByOthers(boolean canChange)
|
void |
setDefaultValue(java.lang.String defValue)
|
void |
setDisabled(boolean isDisable)
|
void |
setFormulaDisplays(java.lang.String[] formulaDisplays)
|
void |
setFormulas(java.lang.String[] formulas)
|
void |
setIsChangedByOthers(boolean isChange)
|
void |
setStringType(int stringType)
|
void |
setValue(java.lang.String value)
|
void |
setValueIndex(int index)
|
void |
setValues(java.lang.String[] values)
|
void |
setValuesForDisplay(java.lang.String[] dvalues)
|
Methods inherited from class jet.webreport.beans.Name |
---|
compareTo, equals, getDispName, getName, getType, hashCode, setDispName, setName, setType, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final transient int STRING_TYPE_STRING
public static final transient int STRING_TYPE_FONT
public static final transient int STRING_TYPE_STRINGLIST
Constructor Detail |
---|
public Property(java.lang.String name)
Property
instance by the specified name.
name
- A property name string.Method Detail |
---|
public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defValue)
public int getValueIndex()
public void setValueIndex(int index)
public java.lang.String[] getValues()
null
if this property does not have a value list.public void setValues(java.lang.String[] values)
public java.lang.String[] getValuesForDisplay()
null
if this property does not have a value list.public void setValuesForDisplay(java.lang.String[] dvalues)
public java.lang.String[] getFormulas()
public void setFormulas(java.lang.String[] formulas)
public boolean canChangedByOthers()
public void setCanChangedByOthers(boolean canChange)
public boolean isChangedByOthers()
canChangedByOthers();
public void setIsChangedByOthers(boolean isChange)
public boolean isDisabled()
public void setDisabled(boolean isDisable)
public int getStringType()
STRING_TYPE_STRING
STRING_TYPE_FONT
STRING_TYPE_STRINGLIST
public void setStringType(int stringType)
public java.lang.String[] getFormulaDisplays()
public void setFormulaDisplays(java.lang.String[] formulaDisplays)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |