📄 guioptionimpl.java
字号:
* @generated
*/
public void setAutoDock(boolean newAutoDock) {
boolean oldAutoDock = autoDock;
autoDock = newAutoDock;
boolean oldAutoDockESet = autoDockESet;
autoDockESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__AUTO_DOCK, oldAutoDock, autoDock, !oldAutoDockESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetAutoDock() {
boolean oldAutoDock = autoDock;
boolean oldAutoDockESet = autoDockESet;
autoDock = AUTO_DOCK_EDEFAULT;
autoDockESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__AUTO_DOCK, oldAutoDock, AUTO_DOCK_EDEFAULT, oldAutoDockESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetAutoDock() {
return autoDockESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isBold() {
return bold;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setBold(boolean newBold) {
boolean oldBold = bold;
bold = newBold;
boolean oldBoldESet = boldESet;
boldESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__BOLD, oldBold, bold, !oldBoldESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetBold() {
boolean oldBold = bold;
boolean oldBoldESet = boldESet;
bold = BOLD_EDEFAULT;
boldESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__BOLD, oldBold, BOLD_EDEFAULT, oldBoldESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetBold() {
return boldESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getFontColor() {
return fontColor;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setFontColor(int newFontColor) {
int oldFontColor = fontColor;
fontColor = newFontColor;
boolean oldFontColorESet = fontColorESet;
fontColorESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__FONT_COLOR, oldFontColor, fontColor, !oldFontColorESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetFontColor() {
int oldFontColor = fontColor;
boolean oldFontColorESet = fontColorESet;
fontColor = FONT_COLOR_EDEFAULT;
fontColorESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__FONT_COLOR, oldFontColor, FONT_COLOR_EDEFAULT, oldFontColorESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetFontColor() {
return fontColorESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getFontName() {
return fontName;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setFontName(String newFontName) {
String oldFontName = fontName;
fontName = newFontName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__FONT_NAME, oldFontName, fontName));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getFontSize() {
return fontSize;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setFontSize(int newFontSize) {
int oldFontSize = fontSize;
fontSize = newFontSize;
boolean oldFontSizeESet = fontSizeESet;
fontSizeESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__FONT_SIZE, oldFontSize, fontSize, !oldFontSizeESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetFontSize() {
int oldFontSize = fontSize;
boolean oldFontSizeESet = fontSizeESet;
fontSize = FONT_SIZE_EDEFAULT;
fontSizeESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__FONT_SIZE, oldFontSize, FONT_SIZE_EDEFAULT, oldFontSizeESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetFontSize() {
return fontSizeESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getGroupBackground() {
return groupBackground;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setGroupBackground(int newGroupBackground) {
int oldGroupBackground = groupBackground;
groupBackground = newGroupBackground;
boolean oldGroupBackgroundESet = groupBackgroundESet;
groupBackgroundESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__GROUP_BACKGROUND, oldGroupBackground, groupBackground, !oldGroupBackgroundESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetGroupBackground() {
int oldGroupBackground = groupBackground;
boolean oldGroupBackgroundESet = groupBackgroundESet;
groupBackground = GROUP_BACKGROUND_EDEFAULT;
groupBackgroundESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__GROUP_BACKGROUND, oldGroupBackground, GROUP_BACKGROUND_EDEFAULT, oldGroupBackgroundESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetGroupBackground() {
return groupBackgroundESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getHeight() {
return height;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setHeight(int newHeight) {
int oldHeight = height;
height = newHeight;
boolean oldHeightESet = heightESet;
heightESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__HEIGHT, oldHeight, height, !oldHeightESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetHeight() {
int oldHeight = height;
boolean oldHeightESet = heightESet;
height = HEIGHT_EDEFAULT;
heightESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__HEIGHT, oldHeight, HEIGHT_EDEFAULT, oldHeightESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetHeight() {
return heightESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isHideWhenMinimize() {
return hideWhenMinimize;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setHideWhenMinimize(boolean newHideWhenMinimize) {
boolean oldHideWhenMinimize = hideWhenMinimize;
hideWhenMinimize = newHideWhenMinimize;
boolean oldHideWhenMinimizeESet = hideWhenMinimizeESet;
hideWhenMinimizeESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__HIDE_WHEN_MINIMIZE, oldHideWhenMinimize, hideWhenMinimize, !oldHideWhenMinimizeESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetHideWhenMinimize() {
boolean oldHideWhenMinimize = hideWhenMinimize;
boolean oldHideWhenMinimizeESet = hideWhenMinimizeESet;
hideWhenMinimize = HIDE_WHEN_MINIMIZE_EDEFAULT;
hideWhenMinimizeESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__HIDE_WHEN_MINIMIZE, oldHideWhenMinimize, HIDE_WHEN_MINIMIZE_EDEFAULT, oldHideWhenMinimizeESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetHideWhenMinimize() {
return hideWhenMinimizeESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isImOnTop() {
return imOnTop;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setImOnTop(boolean newImOnTop) {
boolean oldImOnTop = imOnTop;
imOnTop = newImOnTop;
boolean oldImOnTopESet = imOnTopESet;
imOnTopESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__IM_ON_TOP, oldImOnTop, imOnTop, !oldImOnTopESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetImOnTop() {
boolean oldImOnTop = imOnTop;
boolean oldImOnTopESet = imOnTopESet;
imOnTop = IM_ON_TOP_EDEFAULT;
imOnTopESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__IM_ON_TOP, oldImOnTop, IM_ON_TOP_EDEFAULT, oldImOnTopESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetImOnTop() {
return imOnTopESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isItalic() {
return italic;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setItalic(boolean newItalic) {
boolean oldItalic = italic;
italic = newItalic;
boolean oldItalicESet = italicESet;
italicESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__ITALIC, oldItalic, italic, !oldItalicESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetItalic() {
boolean oldItalic = italic;
boolean oldItalicESet = italicESet;
italic = ITALIC_EDEFAULT;
italicESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__ITALIC, oldItalic, ITALIC_EDEFAULT, oldItalicESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetItalic() {
return italicESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public int getLocationX() {
return locationX;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setLocationX(int newLocationX) {
int oldLocationX = locationX;
locationX = newLocationX;
boolean oldLocationXESet = locationXESet;
locationXESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OptionPackage.GUI_OPTION__LOCATION_X, oldLocationX, locationX, !oldLocationXESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetLocationX() {
int oldLocationX = locationX;
boolean oldLocationXESet = locationXESet;
locationX = LOCATION_X_EDEFAULT;
locationXESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, OptionPackage.GUI_OPTION__LOCATION_X, oldLocationX, LOCATION_X_EDEFAULT, oldLocationXESet));
}
/**
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -