rs.sol.soloist.server.guiconfiguration.layout
Class VerticalLayout
java.lang.Object
rs.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.CellLayout
rs.sol.soloist.server.guiconfiguration.layout.VerticalLayout
- All Implemented Interfaces:
- rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement
public class VerticalLayout
- extends CellLayout
An object meant to be assigned to a panel to give it vertical spatial
arrangement for its children. If necessary, in that case, a children shoud have
a CellLayoutData
object assigned for additional child-specific layout adjustments.
Vertical layouts should be used in the following way:
VerticalLayout vLayout = new VerticalLayout();
vLayout.setHorizontalAlignment(HorizontalAlignment.CENTER);
GUIPanelComponent vertical = GUIPanelComponent.create(parent, vLayout);
Or shortly using a general factory method:
VerticalLayout vLayout = VerticalLayout.create(HorizontalAlignment.CENTER);
GUIPanelComponent vertical = GUIPanelComponent.create(parent, vLayout);
Or even shorter using specific factory method:
GUIPanelComponent vertical = GUIPanelComponent.createVertical(parent, HorizontalAlignment.CENTER);
- Author:
- SOL Expert Group
- See Also:
CellLayout
,
Layout
Method Summary |
void |
constructor()
The domain-specific constructor of the Classifier. |
static VerticalLayout |
create(HorizontalAlignment horizontalAlignment)
Returns new VerticalLayout object that specifies vertical
arrangement and horizontal alignment of widgets in a panel that will
have this object assigned to. |
rs.sol.soloist.client.common.info.layout.VerticalLayoutInfo |
createSpecificInfo()
Creates and returns an empty serializable object of the appropriate
LayoutInfo sub-class. |
IClass |
getLayoutDataClass()
Deprecated. Not for public use. |
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.IElement |
isKindOf, isModelElement, isRTElement |
FQ_TYPE_NAME
public static final java.lang.String FQ_TYPE_NAME
- Fully qualified UML class name
- See Also:
- Constant Field Values
CLASSIFIER
public static final IClass CLASSIFIER
- UML class reference
VerticalLayout
public VerticalLayout()
constructor
public void constructor()
- Description copied from interface:
IClassifierInstance
- The domain-specific constructor of the Classifier.
- Specified by:
constructor
in interface IClassifierInstance
- Overrides:
constructor
in class CellLayout
getLayoutDataClass
@Deprecated
public IClass getLayoutDataClass()
- Deprecated. Not for public use.
- Description copied from class:
Layout
- Returns the Class of layout data appropriate for this layout. It may
return null if no layout data is needed.
- Specified by:
getLayoutDataClass
in class Layout
createSpecificInfo
public rs.sol.soloist.client.common.info.layout.VerticalLayoutInfo createSpecificInfo()
- Description copied from class:
Layout
- Creates and returns an empty serializable object of the appropriate
LayoutInfo
sub-class. The returned object must be able to
transmit every property of objects of this class from server to
clients (browsers).
- Specified by:
createSpecificInfo
in class Layout
- Returns:
- a
LayoutInfo
sub-class instance
create
public static VerticalLayout create(HorizontalAlignment horizontalAlignment)
- Returns new
VerticalLayout
object that specifies vertical
arrangement and horizontal alignment of widgets in a panel that will
have this object assigned to.
- Parameters:
horizontalAlignment
- the horizontal alignment of widgets in a
vertical layout
- Returns:
- new
VerticalLayout
object
that specifies vertical
arrangement and horizontal alignment