rs.sol.soloist.server.guiconfiguration.layout
Class HorizontalLayout
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.HorizontalLayout
- All Implemented Interfaces:
- rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement
public class HorizontalLayout
- extends CellLayout
An object meant to be assigned to a panel to give it horizontal spatial
arrangement for its children. If necessary, in that case,
a children shoud have
a CellLayoutData
object assigned for additional child-specific layout adjustments.
Horizonal layouts should be used in the following way:
HorizontalLayout hLayout = new HorizontalLayout();
hLayout.setVerticalAlignment(VerticalAlignment.MIDDLE);
GUIPanelComponent horizontal = GUIPanelComponent.create(parent, hLayout);
Or shortly using a general factory method:
HorizontalLayout hLayout = HorizontalLayout.create(VerticalAlignment.MIDDLE);
GUIPanelComponent horizontal = GUIPanelComponent.create(parent, hLayout);
Or even shorter using specific factory method:
GUIPanelComponent horizontal = GUIPanelComponent.createHorizontal(parent, VerticalAlignment.MIDDLE);
- Author:
- SOL Expert Group
- See Also:
CellLayout
,
Layout
Method Summary |
void |
constructor()
The domain-specific constructor of the Classifier. |
static HorizontalLayout |
create(VerticalAlignment verticalAlignment)
Returns new HorizontalLayout object that specifies horizontal
arrangement and vertical alignment of widgets in a panel that will
have this object assigned to. |
rs.sol.soloist.client.common.info.layout.HorizontalLayoutInfo |
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
HorizontalLayout
public HorizontalLayout()
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
createSpecificInfo
public rs.sol.soloist.client.common.info.layout.HorizontalLayoutInfo 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
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
create
public static HorizontalLayout create(VerticalAlignment verticalAlignment)
- Returns new
HorizontalLayout
object that specifies horizontal
arrangement and vertical alignment of widgets in a panel that will
have this object assigned to.
- Parameters:
verticalAlignment
- the vertical alignment of widgets in a
horizontal layout
- Returns:
- new
HorizontalLayout
object
that specifies horizontal
arrangement and vertical alignment