public class TableColumnImpl extends FlowTypeImpl implements TableColumn
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
width
The cached value of the '
Width ' attribute. |
protected static java.lang.String |
WIDTH_EDEFAULT
The default value of the '
Width ' attribute. |
id, ID_EDEFAULT
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
TableColumnImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
int |
getColumnIndex()
returns the column index of this column
|
java.lang.String |
getDisplayName() |
double |
getPercentageWidth()
If the column is percentage based, returns the columns width as a double
|
Table |
getTable()
Returns the table that this column is in
|
java.lang.String |
getWidth() |
protected void |
invalidate() |
boolean |
isPercentageBased()
Returns true if the column's width is a percentage
|
ModelLocation |
mapToModel(int offset,
boolean beginning) |
void |
setWidth(java.lang.String newWidth) |
FlowType |
split(int offset,
FlowContainer upto) |
java.lang.String |
toString() |
charAt, eBasicSetContainer, getBody, getContainingBlock, getFollowingLeafNode, getId, getParent, getPrecedingLeafNode, getText, getTextLength, isEmpty, isSplittable, revalidate, setId, size, translateToAbsolute
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
charAt, getBody, getContainingBlock, getFollowingLeafNode, getId, getParent, getPrecedingLeafNode, getText, getTextLength, isEmpty, isSplittable, setId, size, translateToAbsolute
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final java.lang.String WIDTH_EDEFAULT
Width
' attribute.
getWidth()
protected java.lang.String width
Width
' attribute.
getWidth()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class FlowTypeImpl
public java.lang.String getWidth()
getWidth
in interface TableColumn
TableColumn.setWidth(String)
,
RichtextPackage.getTableColumn_Width()
public void setWidth(java.lang.String newWidth)
setWidth
in interface TableColumn
newWidth
- the new value of the 'Width' attribute.TableColumn.getWidth()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class FlowTypeImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class FlowTypeImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class FlowTypeImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class FlowTypeImpl
public java.lang.String toString()
toString
in class FlowTypeImpl
public java.lang.String getDisplayName()
getDisplayName
in interface FlowType
protected void invalidate()
invalidate
in class FlowTypeImpl
public ModelLocation mapToModel(int offset, boolean beginning)
mapToModel
in interface FlowType
public boolean isPercentageBased()
TableColumn
isPercentageBased
in interface TableColumn
public double getPercentageWidth()
TableColumn
getPercentageWidth
in interface TableColumn
public int getColumnIndex()
TableColumn
getColumnIndex
in interface TableColumn
public Table getTable()
TableColumn
getTable
in interface TableColumn
public FlowType split(int offset, FlowContainer upto)
split
in interface FlowType
split
in class FlowTypeImpl