A config description entry provides a declaration of a single report configuration key
and speicifes rules for the values of that key.
| Method from org.jfree.report.modules.gui.config.model.ConfigDescriptionEntry Detail: |
public boolean equals(Object o) {
if (this == o)
{
return true;
}
if (!(o instanceof ConfigDescriptionEntry))
{
return false;
}
final ConfigDescriptionEntry configDescriptionEntry = (ConfigDescriptionEntry) o;
if (!keyName.equals(configDescriptionEntry.keyName))
{
return false;
}
return true;
}
Checks whether the given object is equal to this config description entry. The
object will be equal, if it is also an config description entry with the same name as
this entry. |
public String getDescription() {
return description;
}
Returns the descrption of the configuration entry. |
public String getKeyName() {
return keyName;
}
Returns the full key name of the configuration description. |
public int hashCode() {
return keyName.hashCode();
}
Computes an hashcode for this object. |
public boolean isGlobal() {
return global;
}
Returns, whether the key is a global key. Global keys are read from the global report
configuration and specifying them in the report local configuration is useless. |
public boolean isHidden() {
return hidden;
}
Returns, whether the key is hidden. Hidden keys will not be visible in the
configuration editor. |
public void setDescription(String description) {
this.description = description;
}
Defines the descrption of the configuration entry. |
public void setGlobal(boolean global) {
this.global = global;
}
Defines, whether the key is a global key. Global keys are read from the global report
configuration and specifying them in the report local configuration is useless. |
public void setHidden(boolean hidden) {
this.hidden = hidden;
}
Defines, whether the key is hidden. Hidden keys will not be visible in the
configuration editor. |