de.folt.models.applicationmodel.guimodel.editor.datasourceeditor
Class TagDescriptor
java.lang.Object
de.folt.models.applicationmodel.guimodel.editor.datasourceeditor.TagDescriptor
public class TagDescriptor
- extends java.lang.Object
Class describes the appearance of a tag; currently just the name and the color
- Author:
- klemens
|
Constructor Summary |
TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor)
|
TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
boolean editable)
|
TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
boolean editable,
int fontStyle,
org.eclipse.swt.graphics.Font font)
|
TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
boolean editable,
int fontStyle,
org.eclipse.swt.graphics.Font font,
int rise)
|
TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
boolean editable,
int fontStyle,
int rise)
|
TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
org.eclipse.swt.graphics.Font font)
|
TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
org.eclipse.swt.graphics.Font font,
boolean bProtectContent)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagDescriptor
public TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor)
- Parameters:
tagName - tagForeGroundColor - tagBackGroundColor -
TagDescriptor
public TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
boolean editable)
- Parameters:
tagName - tagForeGroundColor - tagBackGroundColor - editable -
TagDescriptor
public TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
boolean editable,
int fontStyle,
org.eclipse.swt.graphics.Font font)
- Parameters:
tagName - tagForeGroundColor - tagBackGroundColor - editable - fontStyle - font - rise -
TagDescriptor
public TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
boolean editable,
int fontStyle,
org.eclipse.swt.graphics.Font font,
int rise)
- Parameters:
tagName - tagForeGroundColor - tagBackGroundColor - editable - fontStyle - font - rise -
TagDescriptor
public TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
boolean editable,
int fontStyle,
int rise)
- Parameters:
tagName - tagForeGroundColor - tagBackGroundColor - editable - fontSytle - rise -
TagDescriptor
public TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
org.eclipse.swt.graphics.Font font)
- Parameters:
tagName - tagForeGroundColor - tagBackGroundColor - font -
TagDescriptor
public TagDescriptor(java.lang.String tagName,
org.eclipse.swt.graphics.Color tagForeGroundColor,
org.eclipse.swt.graphics.Color tagBackGroundColor,
org.eclipse.swt.graphics.Font font,
boolean bProtectContent)
- Parameters:
tagName - tagForeGroundColor - tagBackGroundColor - font - bProtectContent -
getFont
public org.eclipse.swt.graphics.Font getFont()
- Returns:
- the font
getFontStyle
public int getFontStyle()
- Returns:
- the fontSytle
getRise
public int getRise()
- Returns:
- the rise
getTagBackGroundColor
public org.eclipse.swt.graphics.Color getTagBackGroundColor()
- Returns:
- the tagBackGroundColor
getTagForeGroundColor
public org.eclipse.swt.graphics.Color getTagForeGroundColor()
- Returns:
- the tagForeGroundColor
getTagName
public java.lang.String getTagName()
- Returns:
- the tagName
isBEditable
public boolean isBEditable()
- Returns:
- the bEditable
isBProtectContent
public boolean isBProtectContent()
- Returns:
- the bProtectContent
setBEditable
public void setBEditable(boolean bEditable)
- Parameters:
bEditable - the bEditable to set
setBProtectContent
public void setBProtectContent(boolean bProtectContent)
- Parameters:
bProtectContent - the bProtectContent to set
setFont
public void setFont(org.eclipse.swt.graphics.Font font)
- Parameters:
font - the font to set
setFontStyle
public void setFontStyle(int fontStyle)
- Parameters:
fontSytle - the fontSytle to set
setRise
public void setRise(int rise)
- Parameters:
rise - the rise to set
setTagBackGroundColor
public void setTagBackGroundColor(org.eclipse.swt.graphics.Color tagBackGroundColor)
- Parameters:
tagBackGroundColor - the tagBackGroundColor to set
setTagForeGroundColor
public void setTagForeGroundColor(org.eclipse.swt.graphics.Color tagForeGroundColor)
- Parameters:
tagForeGroundColor - the tagForeGroundColor to set
setTagName
public void setTagName(java.lang.String tagName)
- Parameters:
tagName - the tagName to set