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

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

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

Defines column-specific CSS style and width for a TableLayout.

Code example that defines "header" CSS style and 100 pixels width for the first column in a table is shown bellow:

 TableColumnData columnData = TableColumnData.create(0, "header", "100px");
 
 TableLayout tLayout = new TableLayout();
 tLayout.addColumnData(columnData);
 
 GUIPanelComponent table = GUIPanelComponent.create(parent, tLayout);
 
 

Author:
SOL Expert Group
See Also:
TableRowData

Nested Class Summary
static class TableColumnData.FQPropertyNames
          Deprecated. Not for public use.
static class TableColumnData.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<Text> width
          Deprecated. Not for public use.
 
Constructor Summary
TableColumnData()
           
 
Method Summary
 void constructor()
          The domain-specific constructor of the Classifier.
static TableColumnData create(int index, java.lang.String styleName, java.lang.String width)
          Returns new TableColumnData object that specifies additional column-specific layout information within an owner table layout.
 rs.sol.soloist.client.common.info.layout.TableColumnDataInfo createInfo()
          Creates, returns, and fills a serializable TableColumnDataInfo object.
 int getIndex()
          Returns the index of the column to which this object is related to.
 java.lang.String getStyleName()
          Returns the CSS style of the column to which this object is related to.
 java.lang.String getWidth()
          Returns the width of the column to which this object is related to.
 void setIndex(int index)
          Sets the index of the column to which this object is related to.
 void setStyleName(java.lang.String style)
          Sets the CSS style of the column to which this object is related to.
 void setWidth(java.lang.String w)
          Sets the width of the column 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.

width

@Deprecated
public IAttributeValue<Text> width
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

TableColumnData

public TableColumnData()
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.TableColumnDataInfo createInfo()
Creates, returns, and fills a serializable TableColumnDataInfo object. The returned object must be able to transmit every property of objects of this class from server to clients (browsers).

Returns:
a TableColumnDataInfo object

create

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

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

setIndex

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

Parameters:
index - the index of the column

setStyleName

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

Parameters:
style - the CSS style of the column

setWidth

public void setWidth(java.lang.String w)
Sets the width of the column to which this object is related to.

Parameters:
w - the width of the column

getIndex

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

Returns:
the index of the column

getStyleName

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

Returns:
the CSS style of the column

getWidth

public java.lang.String getWidth()
Returns the width of the column to which this object is related to.

Returns:
the width of the column