|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance
rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance
rs.sol.soloist.server.builtindomains.common.ObjectOfClass
rs.sol.soloist.server.guiconfiguration.layout.Layout
rs.sol.soloist.server.guiconfiguration.layout.DockLayout
public class DockLayout
An object meant to be assigned to a panel to give it a dock spatial
arrangement for its children. In that case,
a children shoud have
a DockLayoutData
object assigned for additional child-specific layout adjustments.
Dock layouts should be used in the following way:
DockLayout dLayout = new DockLayout();
dLayout.setUnits("px");
GUIPanelComponent dock = GUIPanelComponent.create(parent, dLayout);
Or shortly using a general factory method:
DockLayout dLayout = DockLayout.create("px");
GUIPanelComponent dock = GUIPanelComponent.create(parent, dLayout);
Or even shorter using specific factory method:
GUIPanelComponent dock = GUIPanelComponent.createDock(parent, "px");
Layout
Nested Class Summary | |
---|---|
static class |
DockLayout.FQPropertyNames
Deprecated. Not for public use. |
static class |
DockLayout.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
static IClass |
CLASSIFIER
UML class reference |
static java.lang.String |
FQ_TYPE_NAME
Fully qualified UML class name |
IAttributeValue<Text> |
units
Deprecated. Not for public use. |
Constructor Summary | |
---|---|
DockLayout()
|
|
DockLayout(java.lang.String units)
Deprecated. |
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
void |
constructor(java.lang.String units)
Performs an initialization for this object. |
static DockLayout |
create(java.lang.String units)
Returns new DockLayout object that specifies dock
layout for all widgets in a panel that has this object
assigned to. |
rs.sol.soloist.client.common.info.layout.DockLayoutInfo |
createSpecificInfo()
Creates and returns an empty serializable object of the appropriate LayoutInfo sub-class. |
void |
fillInfo(rs.sol.soloist.client.common.info.layout.LayoutInfo layoutInfo)
Fills-in already created LayoutInfo object with
values of properties of this object. |
IClass |
getLayoutDataClass()
Deprecated. Not for public use. |
java.lang.String |
getUnits()
Returns the units used in this layout. |
void |
setUnits(java.lang.String units)
Sets the units for this type of layout. |
void |
validate()
Validates a configuration settings of this object. |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.layout.Layout |
---|
createInfo, createLayoutData, validate, validate |
Methods inherited from class rs.sol.soloist.server.builtindomains.common.ObjectOfClass |
---|
handle |
Methods inherited from class rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance |
---|
destroy, equals, getAssociationEndInstance, getAssociationEndInstances, getAttributeValue, getAttributeValues, getMyClass, getMyID, getSlot, getSlot, getSlots, getUMLClass, hashCode, isMarkedAsDeleted, toString |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance |
---|
accept, accept, exists, getAssociationEndInstance, getAssociationEndInstance, getAssociationEndInstance, getClassifier, hasIdentity, isClassInstance, isDataTypeInstance, isEqualTo, makeClone, markAsDeleted |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance |
---|
conformsTo, copySlots, copySlots, destructor, getAttributeValue, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getMElement, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf, isKindOf, isModelElement, isRTElement |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IClassifierInstance |
---|
conformsTo, copySlots, copySlots, destructor, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IRTElement |
---|
getMElement |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement |
---|
isKindOf, isModelElement, isRTElement |
Field Detail |
---|
@Deprecated public IAttributeValue<Text> units
All children's layout data have to use the same unit.
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
Constructor Detail |
---|
@Deprecated public DockLayout(java.lang.String units)
public DockLayout()
Method Detail |
---|
public void constructor(java.lang.String units)
units
- the String designating the units to be used in this layout
(em, px, %, mm, cm, ex, in, pt, pc)public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class Layout
public void validate()
Layout
validate
in class Layout
@Deprecated public IClass getLayoutDataClass()
Layout
getLayoutDataClass
in class Layout
public rs.sol.soloist.client.common.info.layout.DockLayoutInfo createSpecificInfo()
Layout
LayoutInfo
sub-class. The returned object must be able to
transmit every property of objects of this class from server to
clients (browsers).
createSpecificInfo
in class Layout
LayoutInfo
sub-class instancepublic void fillInfo(rs.sol.soloist.client.common.info.layout.LayoutInfo layoutInfo)
Layout
LayoutInfo
object with
values of properties of this object.
fillInfo
in class Layout
layoutInfo
- a LayoutInfo
sub-class object
to be filled-inLayout.createSpecificInfo()
public static DockLayout create(java.lang.String units)
DockLayout
object that specifies dock
layout for all widgets in a panel that has this object
assigned to.
units
- units to be used in dock layout specification. One of:
em, px, %, mm, cm, ex, in, pt, pc.
DockLayout
objectpublic void setUnits(java.lang.String units)
units
- units to be used in this dock layout. One of:
em, px, %, mm, cm, ex, in, pt, pc.public java.lang.String getUnits()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |