public class Property extends jet.webreport.beans.Name implements Serializable
Property contains description of the property of an object,
which can be a JReport object such as report, page, component, and so on.| Modifier and Type | Field and Description |
|---|---|
static int |
STRING_TYPE_FONT |
static int |
STRING_TYPE_STRING |
static int |
STRING_TYPE_STRINGLIST |
| Constructor and Description |
|---|
Property(String name)
Creates a new
Property instance by the specified name. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAuto() |
boolean |
canChangedByOthers()
Returns whether the property could be changed by others,
for example changed by formulas.
|
com.jinfonet.web.beans.ChangeByOtherInfo |
getCurrentOtherInfo() |
String |
getDefaultValue()
Returns the default value of the property.
|
List<com.jinfonet.web.beans.ChangeByOtherInfo> |
getOtherInfos() |
int |
getStringType()
Returns the string type when this property type is a string.
|
String |
getValue()
Returns the value of the property.
|
int |
getValueIndex()
Returns the index of the current value in value list.
|
String[] |
getValues()
Returns the value list of this property.
|
String[] |
getValuesForDisplay()
Returns the property value list used for display.
|
boolean |
isAuto() |
boolean |
isChangedByOthers()
Returns whether the property has been changed by others.
|
boolean |
isDisabled()
Returns whether the property is disabled.
|
boolean |
isSupportColorAlpha() |
void |
setAuto(boolean isAuto) |
void |
setCanAuto(boolean canAuto) |
void |
setCanChangedByOthers(boolean canChange) |
void |
setCurrentOtherInfo(com.jinfonet.web.beans.ChangeByOtherInfo currentOtherInfo) |
void |
setDefaultValue(String defValue) |
void |
setDisabled(boolean isDisable) |
void |
setIsChangedByOthers(boolean isChange) |
void |
setOtherInfos(List<com.jinfonet.web.beans.ChangeByOtherInfo> otherInfos) |
void |
setStringType(int stringType) |
void |
setSupportColorAlpha(boolean supportColorAlpha) |
void |
setValue(String value) |
void |
setValueIndex(int index) |
void |
setValues(String[] values) |
void |
setValuesForDisplay(String[] dvalues) |
public static final transient int STRING_TYPE_STRING
public static final transient int STRING_TYPE_FONT
public static final transient int STRING_TYPE_STRINGLIST
public Property(String name)
Property instance by the specified name.name - A property name string.public String getValue()
public void setValue(String value)
public String getDefaultValue()
public void setDefaultValue(String defValue)
public int getValueIndex()
public void setValueIndex(int index)
public String[] getValues()
null if this property does not have a value list.public void setValues(String[] values)
public String[] getValuesForDisplay()
null if this property does not have a value list.public void setValuesForDisplay(String[] dvalues)
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_STRINGSTRING_TYPE_FONTSTRING_TYPE_STRINGLISTpublic void setStringType(int stringType)
public com.jinfonet.web.beans.ChangeByOtherInfo getCurrentOtherInfo()
public void setCurrentOtherInfo(com.jinfonet.web.beans.ChangeByOtherInfo currentOtherInfo)
public List<com.jinfonet.web.beans.ChangeByOtherInfo> getOtherInfos()
public void setOtherInfos(List<com.jinfonet.web.beans.ChangeByOtherInfo> otherInfos)
public boolean isAuto()
public void setAuto(boolean isAuto)
public boolean canAuto()
public void setCanAuto(boolean canAuto)
public boolean isSupportColorAlpha()
public void setSupportColorAlpha(boolean supportColorAlpha)
© insightsoftware. All rights reserved.