|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
org.eclipse.graphiti.mm.algorithms.styles.impl.FontImpl
public class FontImpl
An implementation of the model object 'Font'.
The following features are implemented:
Field Summary | |
---|---|
protected boolean |
bold
The cached value of the ' Bold ' attribute. |
protected static boolean |
BOLD_EDEFAULT
The default value of the ' Bold ' attribute. |
protected boolean |
italic
The cached value of the ' Italic ' attribute. |
protected static boolean |
ITALIC_EDEFAULT
The default value of the ' Italic ' attribute. |
protected java.lang.String |
name
The cached value of the ' Name ' attribute. |
protected static java.lang.String |
NAME_EDEFAULT
The default value of the ' Name ' attribute. |
protected int |
size
The cached value of the ' Size ' attribute. |
protected static int |
SIZE_EDEFAULT
The default value of the ' Size ' attribute. |
Constructor Summary | |
---|---|
protected |
FontImpl()
|
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)
|
java.lang.String |
getName()
|
int |
getSize()
|
boolean |
isBold()
|
boolean |
isItalic()
|
void |
setBold(boolean newBold)
|
void |
setItalic(boolean newItalic)
|
void |
setName(java.lang.String newName)
|
void |
setSize(int newSize)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String NAME_EDEFAULT
Name
' attribute.
getName()
protected java.lang.String name
Name
' attribute.
getName()
protected static final int SIZE_EDEFAULT
Size
' attribute.
getSize()
,
Constant Field Valuesprotected int size
Size
' attribute.
getSize()
protected static final boolean ITALIC_EDEFAULT
Italic
' attribute.
isItalic()
,
Constant Field Valuesprotected boolean italic
Italic
' attribute.
isItalic()
protected static final boolean BOLD_EDEFAULT
Bold
' attribute.
isBold()
,
Constant Field Valuesprotected boolean bold
Bold
' attribute.
isBold()
Constructor Detail |
---|
protected FontImpl()
Method Detail |
---|
protected EClass eStaticClass()
public java.lang.String getName()
getName
in interface Font
Font.setName(String)
,
StylesPackage.getFont_Name()
public void setName(java.lang.String newName)
setName
in interface Font
newName
- the new value of the 'Name' attribute.Font.getName()
public int getSize()
getSize
in interface Font
Font.setSize(int)
,
StylesPackage.getFont_Size()
public void setSize(int newSize)
setSize
in interface Font
newSize
- the new value of the 'Size' attribute.Font.getSize()
public boolean isItalic()
isItalic
in interface Font
Font.setItalic(boolean)
,
StylesPackage.getFont_Italic()
public void setItalic(boolean newItalic)
setItalic
in interface Font
newItalic
- the new value of the 'Italic' attribute.Font.isItalic()
public boolean isBold()
isBold
in interface Font
Font.setBold(boolean)
,
StylesPackage.getFont_Bold()
public void setBold(boolean newBold)
setBold
in interface Font
newBold
- the new value of the 'Bold' attribute.Font.isBold()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |