|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.FlatEObjectImpl
org.eclipse.gmf.runtime.notation.impl.FontStyleImpl
public class FontStyleImpl
An implementation of the model object 'Font Style'.
The following features are implemented:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected static boolean |
BOLD_EDEFAULT
The default value of the ' Bold' attribute |
protected static int |
BOLD_EFLAG
The flag representing the value of the ' Bold' attribute |
protected static int |
FONT_COLOR_EDEFAULT
The default value of the ' Font Color' attribute |
protected static int |
FONT_HEIGHT_EDEFAULT
The default value of the ' Font Height' attribute |
protected static java.lang.String |
FONT_NAME_EDEFAULT
The default value of the ' Font Name' attribute |
protected int |
fontColor
The cached value of the ' Font Color' attribute |
protected int |
fontHeight
The cached value of the ' Font Height' attribute |
protected java.lang.String |
fontName
The cached value of the ' Font Name' attribute |
protected static boolean |
ITALIC_EDEFAULT
The default value of the ' Italic' attribute |
protected static int |
ITALIC_EFLAG
The flag representing the value of the ' Italic' attribute |
protected static boolean |
STRIKE_THROUGH_EDEFAULT
The default value of the ' Strike Through' attribute |
protected static int |
STRIKE_THROUGH_EFLAG
The flag representing the value of the ' Strike Through' attribute |
protected static boolean |
UNDERLINE_EDEFAULT
The default value of the ' Underline' attribute |
protected static int |
UNDERLINE_EFLAG
The flag representing the value of the ' Underline' attribute |
| Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
|---|
eContents, eCrossReferences, eProxyURI |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
FontStyleImpl()
|
| Method Summary | |
|---|---|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
int |
getFontColor()
|
int |
getFontHeight()
|
java.lang.String |
getFontName()
|
boolean |
isBold()
|
boolean |
isItalic()
|
boolean |
isStrikeThrough()
|
boolean |
isUnderline()
|
void |
setBold(boolean newBold)
|
void |
setFontColor(int newFontColor)
|
void |
setFontHeight(int newFontHeight)
|
void |
setFontName(java.lang.String newFontName)
|
void |
setItalic(boolean newItalic)
|
void |
setStrikeThrough(boolean newStrikeThrough)
|
void |
setUnderline(boolean newUnderline)
|
java.lang.String |
toString()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
|---|
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
|---|
protected static final int FONT_COLOR_EDEFAULT
Font Color' attribute.
getFontColor(),
Constant Field Valuesprotected int fontColor
Font Color' attribute.
getFontColor()protected static final java.lang.String FONT_NAME_EDEFAULT
Font Name' attribute.
getFontName(),
Constant Field Valuesprotected java.lang.String fontName
Font Name' attribute.
getFontName()protected static final int FONT_HEIGHT_EDEFAULT
Font Height' attribute.
getFontHeight(),
Constant Field Valuesprotected int fontHeight
Font Height' attribute.
getFontHeight()protected static final boolean BOLD_EDEFAULT
Bold' attribute.
isBold(),
Constant Field Valuesprotected static final int BOLD_EFLAG
Bold' attribute.
isBold(),
Constant Field Valuesprotected static final boolean ITALIC_EDEFAULT
Italic' attribute.
isItalic(),
Constant Field Valuesprotected static final int ITALIC_EFLAG
Italic' attribute.
isItalic(),
Constant Field Valuesprotected static final boolean UNDERLINE_EDEFAULT
Underline' attribute.
isUnderline(),
Constant Field Valuesprotected static final int UNDERLINE_EFLAG
Underline' attribute.
isUnderline(),
Constant Field Valuesprotected static final boolean STRIKE_THROUGH_EDEFAULT
Strike Through' attribute.
isStrikeThrough(),
Constant Field Valuesprotected static final int STRIKE_THROUGH_EFLAG
Strike Through' attribute.
isStrikeThrough(),
Constant Field Values| Constructor Detail |
|---|
protected FontStyleImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class EObjectImplpublic java.lang.String getFontName()
getFontName in interface FontStyleFontStyle.setFontName(String),
NotationPackage.getFontStyle_FontName()public void setFontName(java.lang.String newFontName)
setFontName in interface FontStylenewFontName - the new value of the 'Font Name' attribute.FontStyle.getFontName()public int getFontHeight()
getFontHeight in interface FontStyleFontStyle.setFontHeight(int),
NotationPackage.getFontStyle_FontHeight()public void setFontHeight(int newFontHeight)
setFontHeight in interface FontStylenewFontHeight - the new value of the 'Font Height' attribute.FontStyle.getFontHeight()public boolean isBold()
isBold in interface FontStyleFontStyle.setBold(boolean),
NotationPackage.getFontStyle_Bold()public void setBold(boolean newBold)
setBold in interface FontStylenewBold - the new value of the 'Bold' attribute.FontStyle.isBold()public boolean isItalic()
isItalic in interface FontStyleFontStyle.setItalic(boolean),
NotationPackage.getFontStyle_Italic()public void setItalic(boolean newItalic)
setItalic in interface FontStylenewItalic - the new value of the 'Italic' attribute.FontStyle.isItalic()public boolean isUnderline()
isUnderline in interface FontStyleFontStyle.setUnderline(boolean),
NotationPackage.getFontStyle_Underline()public void setUnderline(boolean newUnderline)
setUnderline in interface FontStylenewUnderline - the new value of the 'Underline' attribute.FontStyle.isUnderline()public boolean isStrikeThrough()
isStrikeThrough in interface FontStyleFontStyle.setStrikeThrough(boolean),
NotationPackage.getFontStyle_StrikeThrough()public void setStrikeThrough(boolean newStrikeThrough)
setStrikeThrough in interface FontStylenewStrikeThrough - the new value of the 'Strike Through' attribute.FontStyle.isStrikeThrough()
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class BasicEObjectImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class BasicEObjectImplpublic int getFontColor()
getFontColor in interface FontStyleFontStyle.setFontColor(int),
NotationPackage.getFontStyle_FontColor()public void setFontColor(int newFontColor)
setFontColor in interface FontStylenewFontColor - the new value of the 'Font Color' attribute.FontStyle.getFontColor()public java.lang.String toString()
toString in class BasicEObjectImpl
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.