|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPersistentObject
org.modelsphere.jack.baseDb.db.DbObject
org.modelsphere.jack.baseDb.db.DbZoneDisplay
org.modelsphere.jack.baseDb.db.DbSingleZoneDisplay
public abstract class DbSingleZoneDisplay
Defines display attributes of a single zone for graphical objects. A single zone contains only one element (for instance the zone to display the name of a process), as opposite to multi-valued zones that contain several element. This is an element contained in a notation. See DbBESingleZoneDisplay in sms.be.db for a concrete class that extends a DbZoneDisplay.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject |
---|
DbObject.ComponentIterator |
Field Summary | |
---|---|
static MetaField |
fJustification
|
static MetaField |
fMetaField
|
static MetaField |
fSeparator
|
static MetaRelation1 |
fUdf
|
static MetaField |
fUseExtraSpace
|
static MetaClass |
metaClass
|
Fields inherited from class org.modelsphere.jack.baseDb.db.DbZoneDisplay |
---|
fDisplayed |
Fields inherited from class org.modelsphere.jack.baseDb.db.DbObject |
---|
ACCESS_GRANTED, ACCESS_NOT_GRANTED, fComponents, fComposite, fCreationTime, fModificationTime, fUdfValues, fValidationStatus, LONG_FORM, SHORT_FORM, VALIDATION_ERROR, VALIDATION_OK, VALIDATION_WARNING, writeAccess |
Constructor Summary | |
---|---|
DbSingleZoneDisplay()
Parameter-less constructor. |
|
DbSingleZoneDisplay(DbObject composite)
Creates an instance of DbSingleZoneDisplay. |
|
DbSingleZoneDisplay(DbObject composite,
boolean displayed,
ZoneJustification justification,
boolean separator)
Creates an empty instance of DbSingleZoneDisplay. |
|
DbSingleZoneDisplay(DbObject composite,
DbUDF udf,
boolean displayed,
ZoneJustification justification,
boolean separator)
Creates an instance of DbSingleZoneDisplay. |
|
DbSingleZoneDisplay(DbObject composite,
MetaField metaField,
boolean displayed,
ZoneJustification justification,
boolean separator)
Creates an instance of DbSingleZoneDisplay. |
Method Summary | |
---|---|
java.lang.String |
getGUIName()
Get Field GUIName or UDF Name |
ZoneJustification |
getJustification()
Gets the "justification" of a DbZoneDisplay's instance. |
MetaClass |
getMetaClass()
|
MetaField |
getMetaField()
Gets the metafield object associated to a DbDisplayField's instance. |
java.lang.Boolean |
getSeparator()
Deprecated. use isSeparator() method instead |
java.lang.Object |
getSourceObject()
Gets the source object associated to a DbDisplayField's instance. |
DbUDF |
getUdf()
Gets the udf object associated to a DbDisplayField's instance. |
java.lang.Boolean |
getUseExtraSpace()
Deprecated. use isUseExtraSpace() method instead |
java.lang.Object |
getValue(DbObject dbo)
Get the value of the MetaField or the UDF |
static void |
initMeta()
For internal use only. |
boolean |
isEmpty()
Tells whether a DbZoneDisplay's instance is empty or not. |
boolean |
isSeparator()
Tells whether a DbZoneDisplay's instance is separator or not. |
boolean |
isUseExtraSpace()
Tells whether a DbZoneDisplay's instance is useExtraSpace or not. |
void |
set(MetaField metaField,
java.lang.Object value)
Deprecated. use the appropriate setXXX() method instead. |
void |
set(MetaRelationN relation,
DbObject neighbor,
int op)
Deprecated. use the appropriate addToXXX() or removeFromXXX() method instead. |
void |
setJustification(ZoneJustification value)
Sets the "justification" property of a DbZoneDisplay's instance. |
void |
setMetaField(MetaField value)
Sets the metafield object associated to a DbDisplayField's instance. |
void |
setSeparator(java.lang.Boolean value)
Sets the "separator" property of a DbZoneDisplay's instance. |
void |
setUdf(DbUDF value)
Sets the udf object associated to a DbDisplayField's instance. |
void |
setUseExtraSpace(java.lang.Boolean value)
Sets the "useExtraSpace" property of a DbZoneDisplay's instance. |
Methods inherited from class org.modelsphere.jack.baseDb.db.DbZoneDisplay |
---|
getDisplayed, isDisplayed, setDisplayed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final MetaField fJustification
public static final MetaField fSeparator
public static final MetaField fUseExtraSpace
public static final MetaField fMetaField
public static final MetaRelation1 fUdf
public static final MetaClass metaClass
Constructor Detail |
---|
public DbSingleZoneDisplay()
public DbSingleZoneDisplay(DbObject composite) throws DbException
composite
- the object which will contain the newly-created instance
DbException
public DbSingleZoneDisplay(DbObject composite, MetaField metaField, boolean displayed, ZoneJustification justification, boolean separator) throws DbException
composite
- the object which will contain the newly-created instanceMetaField
- metaFieldboolean
- displayedZoneJustification
- justification
- boolean
- separator
DbException
public DbSingleZoneDisplay(DbObject composite, DbUDF udf, boolean displayed, ZoneJustification justification, boolean separator) throws DbException
composite
- the object which will contain the newly-created instanceDbUDF
- udfboolean
- displayedZoneJustification
- justificationboolean
- separator
DbException
public DbSingleZoneDisplay(DbObject composite, boolean displayed, ZoneJustification justification, boolean separator) throws DbException
composite
- the object which will contain the newly-created instanceboolean
- displayedZoneJustification
- justificationboolean
- separator
DbException
Method Detail |
---|
public static void initMeta()
public final void setMetaField(MetaField value) throws DbException
value
- the metafield object to be set
DbException
public final void setUdf(DbUDF value) throws DbException
value
- the udf object to be associated
DbException
public final void setJustification(ZoneJustification value) throws DbException
value
- the "justification" property
DbException
public final void setSeparator(java.lang.Boolean value) throws DbException
value
- the "separator" property
DbException
public final void setUseExtraSpace(java.lang.Boolean value) throws DbException
value
- the "useExtraSpace" property
DbException
public void set(MetaField metaField, java.lang.Object value) throws DbException
set
in class DbZoneDisplay
DbException
public void set(MetaRelationN relation, DbObject neighbor, int op) throws DbException
set
in class DbZoneDisplay
DbException
public final java.lang.String getGUIName() throws DbException
DbException
public final java.lang.Object getValue(DbObject dbo) throws DbException
DbException
public final MetaField getMetaField() throws DbException
DbException
public final DbUDF getUdf() throws DbException
DbException
public final java.lang.Object getSourceObject() throws DbException
DbException
public final ZoneJustification getJustification() throws DbException
DbException
public final java.lang.Boolean getSeparator() throws DbException
DbException
public final java.lang.Boolean getUseExtraSpace() throws DbException
DbException
public final boolean isSeparator() throws DbException
DbException
public final boolean isUseExtraSpace() throws DbException
DbException
public final boolean isEmpty() throws DbException
DbException
public MetaClass getMetaClass()
getMetaClass
in class DbZoneDisplay
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |