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.EPropertiesHolderImplorg.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_EDEFAULTeAdapters, 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, translateToAbsoluteeAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, 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, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcharAt, getBody, getContainingBlock, getFollowingLeafNode, getId, getParent, getPrecedingLeafNode, getText, getTextLength, isEmpty, isSplittable, setId, size, translateToAbsoluteeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected 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 FlowTypeImplpublic java.lang.String getWidth()
getWidth in interface TableColumnTableColumn.setWidth(String),
RichtextPackage.getTableColumn_Width()public void setWidth(java.lang.String newWidth)
setWidth in interface TableColumnnewWidth - 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.InternalEObjecteGet in class FlowTypeImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class FlowTypeImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class FlowTypeImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class FlowTypeImplpublic java.lang.String toString()
toString in class FlowTypeImplpublic java.lang.String getDisplayName()
getDisplayName in interface FlowTypeprotected void invalidate()
invalidate in class FlowTypeImplpublic ModelLocation mapToModel(int offset, boolean beginning)
mapToModel in interface FlowTypepublic boolean isPercentageBased()
TableColumnisPercentageBased in interface TableColumnpublic double getPercentageWidth()
TableColumngetPercentageWidth in interface TableColumnpublic int getColumnIndex()
TableColumngetColumnIndex in interface TableColumnpublic Table getTable()
TableColumngetTable in interface TableColumnpublic FlowType split(int offset, FlowContainer upto)
split in interface FlowTypesplit in class FlowTypeImpl