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

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.TableRowData
All Implemented Interfaces:
rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement

public class TableRowData
extends rs.sol.soloist.server.builtindomains.common.ObjectOfClass

Defines row-specific CSS style and vertical alignment for a TableLayout.

Code example that defines "header" CSS style for the first row in a table is shown bellow:

 TableRowData rowData = TableRowData.create(0, "header");
 
 TableLayout tLayout = new TableLayout();
 tLayout.addRowData(rowData);
 
 GUIPanelComponent table = GUIPanelComponent.create(parent, tLayout);
 
 

Author:
SOL Expert Group
See Also:
TableColumnData

Nested Class Summary
static class TableRowData.FQPropertyNames
          Deprecated. Not for public use.
static class TableRowData.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<Integer> index
          Deprecated. Not for public use.
 IAttributeValue<Text> styleName
          Deprecated. Not for public use.
 IAssociationEndInstance<TableLayout> tableLayout
          Deprecated. Not for public use.
 IAttributeValue<VerticalAlignment> verticalAlignment
          Deprecated. Not for public use.
 
Constructor Summary
TableRowData()
           
 
Method Summary
 void constructor()
          The domain-specific constructor of the Classifier.
static TableRowData create(int index, java.lang.String styleName)
          Returns new TableRowData object that specifies additional row-specific layout information within an owner table layout.
 rs.sol.soloist.client.common.info.layout.TableRowDataInfo createInfo()
          Creates, returns, and fills a serializable TableRowDataInfo object.
 int getIndex()
          Returns the index of the row to which this object is related to.
 java.lang.String getStyleName()
          Returns the CSS style of the row to which this object is related to.
 VerticalAlignment getVerticalAlignment()
          Returns the vertical alignment of the row to which this object is related to.
 void setIndex(int index)
          Sets the index of the row to which this object is related to.
 void setStyleName(java.lang.String style)
          Sets the CSS style of the row to which this object is related to.
 void setVerticalAlignment(VerticalAlignment va)
          Sets the vertical alignment of the row to which this object is related to.
 
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

index

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

styleName

@Deprecated
public IAttributeValue<Text> styleName
Deprecated. Not for public use.

verticalAlignment

@Deprecated
public IAttributeValue<VerticalAlignment> verticalAlignment
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


tableLayout

@Deprecated
public IAssociationEndInstance<TableLayout> tableLayout
Deprecated. Not for public use.
Constructor Detail

TableRowData

public TableRowData()
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 rs.sol.soloist.server.builtindomains.common.ObjectOfClass

createInfo

public rs.sol.soloist.client.common.info.layout.TableRowDataInfo createInfo()
Creates, returns, and fills a serializable TableRowDataInfo object. The returned object must be able to transmit every property of objects of this class from server to clients (browsers).

Returns:
a TableRowDataInfo object

create

public static TableRowData create(int index,
                                  java.lang.String styleName)
Returns new TableRowData object that specifies additional row-specific layout information within an owner table layout.

Parameters:
index - the index of the row to which this object is related to
styleName - the CSS style of the row with the specified index
Returns:
new TableRowData object that specifies additional row-specific layout information

setIndex

public void setIndex(int index)
Sets the index of the row to which this object is related to.

Parameters:
index - the index of the row

setStyleName

public void setStyleName(java.lang.String style)
Sets the CSS style of the row to which this object is related to.

Parameters:
style - the CSS style of the row

setVerticalAlignment

public void setVerticalAlignment(VerticalAlignment va)
Sets the vertical alignment of the row to which this object is related to.

Parameters:
va - the vertical alignment of the row

getIndex

public int getIndex()
Returns the index of the row to which this object is related to.

Returns:
the row index

getStyleName

public java.lang.String getStyleName()
Returns the CSS style of the row to which this object is related to.

Returns:
the CSS style

getVerticalAlignment

public VerticalAlignment getVerticalAlignment()
Returns the vertical alignment of the row to which this object is related to.

Returns:
the vertical alignment