rs.sol.soloist.server.guiconfiguration.layout
Class CellLayout

java.lang.Object
  extended by rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
      extended by rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance
          extended by rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance
              extended by rs.sol.soloist.server.builtindomains.common.ObjectOfClass
                  extended by rs.sol.soloist.server.guiconfiguration.layout.Layout
                      extended by rs.sol.soloist.server.guiconfiguration.layout.CellLayout
All Implemented Interfaces:
rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement
Direct Known Subclasses:
HorizontalLayout, TableLayout, VerticalLayout

public abstract class CellLayout
extends Layout

An abstract base class for cell-oriented layouts like horizontal, vertical, and table layout. It defines an cell's alignment and spacing.

Author:
SOL Expert Group
See Also:
HorizontalLayout, VerticalLayout, TableLayout

Nested Class Summary
static class CellLayout.FQPropertyNames
          Deprecated. Not for public use.
static class CellLayout.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<HorizontalAlignment> horizontalAlignment
          Deprecated. Not for public use.
 IAttributeValue<Integer> spacing
          Deprecated. Not for public use.
 IAttributeValue<VerticalAlignment> verticalAlignment
          Deprecated. Not for public use.
 
Constructor Summary
CellLayout()
           
 
Method Summary
 void constructor()
          The domain-specific constructor of the Classifier.
 void fillInfo(rs.sol.soloist.client.common.info.layout.LayoutInfo layoutInfo)
          Fills-in already created LayoutInfo object with values of properties of this object.
 HorizontalAlignment getHorizontalAlignment()
          Returns the horizontal alignment of all widgets in a cell layout: LEFT, RIGHT, or CENTER.
 int getSpacing()
          Returns the amount of cell spacing in pixels.
 VerticalAlignment getVerticalAlignment()
          Returns the vertical alignment of all widgets in a cell layout: TOP, BOTTOM, or MIDDLE.
 void setHorizontalAlignment(HorizontalAlignment ha)
          Sets a horizontal alignment of all widgets in a cell layout: LEFT, RIGHT, or CENTER.
 void setSpacing(int s)
          Sets the amount of cell spacing in pixels.
 void setVerticalAlignment(VerticalAlignment va)
          Sets a vertical alignment of all widgets in a cell layout: TOP, BOTTOM, or MIDDLE.
 
Methods inherited from class rs.sol.soloist.server.guiconfiguration.layout.Layout
createInfo, createLayoutData, createSpecificInfo, getLayoutDataClass, validate, 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

horizontalAlignment

@Deprecated
public IAttributeValue<HorizontalAlignment> horizontalAlignment
Deprecated. Not for public use.

verticalAlignment

@Deprecated
public IAttributeValue<VerticalAlignment> verticalAlignment
Deprecated. Not for public use.

spacing

@Deprecated
public IAttributeValue<Integer> spacing
Deprecated. Not for public use.

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

Constructor Detail

CellLayout

public CellLayout()
Method Detail

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 Layout

fillInfo

public void fillInfo(rs.sol.soloist.client.common.info.layout.LayoutInfo layoutInfo)
Description copied from class: Layout
Fills-in already created LayoutInfo object with values of properties of this object.

Overrides:
fillInfo in class Layout
Parameters:
layoutInfo - a LayoutInfo sub-class object to be filled-in
See Also:
Layout.createSpecificInfo()

setHorizontalAlignment

public void setHorizontalAlignment(HorizontalAlignment ha)
Sets a horizontal alignment of all widgets in a cell layout: LEFT, RIGHT, or CENTER. In other words, all widgets in a panel that has this object assigned to.

Parameters:
ha - a horizontal alignment enumeration

setVerticalAlignment

public void setVerticalAlignment(VerticalAlignment va)
Sets a vertical alignment of all widgets in a cell layout: TOP, BOTTOM, or MIDDLE. In other words, all widgets in a panel that has this object assigned to.

Parameters:
va - a vertical alignment enumeration

setSpacing

public void setSpacing(int s)
Sets the amount of cell spacing in pixels.

Parameters:
s - the amount of cell spacing in pixels

getHorizontalAlignment

public HorizontalAlignment getHorizontalAlignment()
Returns the horizontal alignment of all widgets in a cell layout: LEFT, RIGHT, or CENTER. In other words, all widgets in a panel that has this object assigned to.

Returns:
the horizontal alignment of all widgets in a cell layout

getVerticalAlignment

public VerticalAlignment getVerticalAlignment()
Returns the vertical alignment of all widgets in a cell layout: TOP, BOTTOM, or MIDDLE. In other words, all widgets in a panel that has this object assigned to.

Returns:
the vertical alignment of all widgets in a cell layout

getSpacing

public int getSpacing()
Returns the amount of cell spacing in pixels.

Returns:
the amount of cell spacing in pixels