4A Server -
2.0
|
Backbean for pages for adding, editing and deleting of default annotation style settings for new users. More...
Public Member Functions | |
EditUserDefaultASSetting () | |
String | getAnnotTypeName () |
void | setAnnotTypeName (String annotTypeName) |
String | getSettingName () |
void | setSettingName (String settingName) |
String | getBgRed () |
void | setBgRed (String bgRed) |
String | getBgGreen () |
void | setBgGreen (String bgGreen) |
String | getBgBlue () |
void | setBgBlue (String bgBlue) |
String | getBgAlpha () |
void | setBgAlpha (String bgAlpha) |
String | getTextRed () |
void | setTextRed (String textRed) |
String | getTextGreen () |
void | setTextGreen (String textGreen) |
String | getTextBlue () |
void | setTextBlue (String textBlue) |
Boolean | getBold () |
void | setBold (Boolean bold) |
Boolean | getItalic () |
void | setItalic (Boolean italic) |
Boolean | getUnderlined () |
void | setUnderlined (Boolean underlined) |
String | getErrorMessage () |
void | setErrorMessage (String errorMessage) |
String | btnSaveAction () |
String | btnSaveNewAction () |
String | btnSelectAction () |
String | btnCancelAction () |
String | btnDeleteAction () |
Static Public Attributes | |
static final int | BACKGROUND_COLOR = 0 |
static final int | FONT_COLOR = 1 |
static final int | FONT_BOLD = 2 |
static final int | FONT_ITALIC = 3 |
static final int | FONT_UNDERLINED = 4 |
static final int | PREFIX_LENGTH = 5 |
static final int | SETTING_NAME = 0 |
static final int | ANNOT_NAME = 1 |
static final int | RED = 0 |
static final int | GREEN = 1 |
static final int | BLUE = 2 |
static final int | ALPHA = 3 |
Private Member Functions | |
void | parseValue (String value) |
void | parseName (String name) |
String | makeValue () |
String | makeName () |
Private Attributes | |
String | annotTypeName = "" |
String | settingName = "" |
DefaultSettings | setting = null |
Integer | bgRed = 255 |
Integer | bgGreen = 255 |
Integer | bgBlue = 255 |
Float | bgAlpha = (float)1 |
Integer | textRed = 0 |
Integer | textGreen = 0 |
Integer | textBlue = 0 |
Boolean | bold = false |
Boolean | italic = false |
Boolean | underlined = false |
String | errorMessage = "" |
Backbean for pages for adding, editing and deleting of default annotation style settings for new users.
Backbean for pages for adding, editing and deleting of default annotation style settings for new users
Definition at line 32 of file EditUserDefaultASSetting.java.
cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.EditUserDefaultASSetting | ( | ) |
Constructor
Definition at line 131 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.btnCancelAction | ( | ) |
Action listener for cancel button
Definition at line 576 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.btnDeleteAction | ( | ) |
Action listener for delete button on deleting page.
Definition at line 589 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.btnSaveAction | ( | ) |
Action listener for save button in the page for editing of user setting
Definition at line 410 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.btnSaveNewAction | ( | ) |
Action listener for seve button on page for adding new user setting
Definition at line 488 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.btnSelectAction | ( | ) |
Returns "typeSelect"
Definition at line 564 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getAnnotTypeName | ( | ) |
Gets name of user annotation style setting
Definition at line 167 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getBgAlpha | ( | ) |
Gets alpha component of annotation background color as string
Definition at line 263 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getBgBlue | ( | ) |
Gets blue component of annotation background color as string
Definition at line 245 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getBgGreen | ( | ) |
Gets green component of annotation background color as string
Definition at line 227 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getBgRed | ( | ) |
Gets red component of annotation background color as string
Definition at line 203 of file EditUserDefaultASSetting.java.
Boolean cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getBold | ( | ) |
Gets flag that indicates the font is bold
Definition at line 338 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getErrorMessage | ( | ) |
Gets error message displayed in form
Definition at line 392 of file EditUserDefaultASSetting.java.
Boolean cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getItalic | ( | ) |
Gets flag that indicates the font is italic
Definition at line 356 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getSettingName | ( | ) |
Gets name of annotation type of user annotation style setting
Definition at line 185 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getTextBlue | ( | ) |
Gets blue component of annotation font color as string
Definition at line 320 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getTextGreen | ( | ) |
Gets green component of annotation font color as string
Definition at line 302 of file EditUserDefaultASSetting.java.
String cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getTextRed | ( | ) |
Gets red component of annotation font color as string
Definition at line 284 of file EditUserDefaultASSetting.java.
Boolean cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.getUnderlined | ( | ) |
Gets flag that indicates the font is underlined
Definition at line 374 of file EditUserDefaultASSetting.java.
|
private |
Method make from objects properties name string
Definition at line 672 of file EditUserDefaultASSetting.java.
|
private |
Method make from objects properties value string
Definition at line 661 of file EditUserDefaultASSetting.java.
|
private |
Method parse name value string to element parts and save them to object properties
name | Input name string to parse |
Definition at line 645 of file EditUserDefaultASSetting.java.
|
private |
Method parse input value string to element parts and save them to object properties
value | Input value string to parse |
Definition at line 613 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setAnnotTypeName | ( | String | annotTypeName | ) |
Sets name of user annotation style setting
annotTypeName | Name of user annotation style setting |
Definition at line 176 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setBgAlpha | ( | String | bgAlpha | ) |
Sets alpha component of annotation background color as string
bgAlpha | Alpha component of annotation background color as string |
Definition at line 274 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setBgBlue | ( | String | bgBlue | ) |
Sets blue component of annotation background color as string
bgBlue | Blue component of annotation background color as string |
Definition at line 254 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setBgGreen | ( | String | bgGreen | ) |
Sets green component of annotation background color as string
bgGreen | Green component of annotation background color as string |
Definition at line 236 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setBgRed | ( | String | bgRed | ) |
Sets red component of annotation background color as string
bgRed | Red component of annotation background color as string |
Definition at line 212 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setBold | ( | Boolean | bold | ) |
Sets flag that indicates the font is bold
bold | Flag that indicates the font is bold |
Definition at line 347 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setErrorMessage | ( | String | errorMessage | ) |
Sets error message to be displayed in form
errorMessage | Error message to be displayed in form |
Definition at line 401 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setItalic | ( | Boolean | italic | ) |
Sets flag that indicates the font is italic
italic | Flag that indicates the font is italic |
Definition at line 365 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setSettingName | ( | String | settingName | ) |
Sets name of annotation type of user annotation style setting
settingName | Name of annotation type of user annotation style setting |
Definition at line 194 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setTextBlue | ( | String | textBlue | ) |
Sets blue component of annotation font color as string
textBlue | Blue component of annotation font color as string |
Definition at line 329 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setTextGreen | ( | String | textGreen | ) |
Sets green component of annotation font color as string
textGreen | Green component of annotation font color as string |
Definition at line 311 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setTextRed | ( | String | textRed | ) |
Sets red component of annotation font color as string
textRed | Red component of annotation font color as string |
Definition at line 293 of file EditUserDefaultASSetting.java.
void cz.vutbr.fit.knot.annotations.web.EditUserDefaultASSetting.setUnderlined | ( | Boolean | underlined | ) |
Sets flag that indicates the font is underlined
underlined | Flag that indicates the font is underlined |
Definition at line 383 of file EditUserDefaultASSetting.java.
|
static |
Index of alpha content of color in color string
Definition at line 126 of file EditUserDefaultASSetting.java.
|
static |
Index of annot type name in name string
Definition at line 118 of file EditUserDefaultASSetting.java.
|
private |
Name of user annotation style setting
Definition at line 36 of file EditUserDefaultASSetting.java.
|
static |
Index of background color in setting value string
Definition at line 104 of file EditUserDefaultASSetting.java.
|
private |
Alpha of annotation background color
Definition at line 66 of file EditUserDefaultASSetting.java.
|
private |
Blue component of annotation background color
Definition at line 61 of file EditUserDefaultASSetting.java.
|
private |
Green component of annotation background color
Definition at line 56 of file EditUserDefaultASSetting.java.
|
private |
Red component of annotation background color
Definition at line 51 of file EditUserDefaultASSetting.java.
|
static |
Index of blue content of color in color string
Definition at line 124 of file EditUserDefaultASSetting.java.
|
private |
Indicates that the text is bold
Definition at line 86 of file EditUserDefaultASSetting.java.
|
private |
Error message displayed in form
Definition at line 101 of file EditUserDefaultASSetting.java.
|
static |
Index of bold text flag in setting value string
Definition at line 108 of file EditUserDefaultASSetting.java.
|
static |
Index of font color in setting value string
Definition at line 106 of file EditUserDefaultASSetting.java.
|
static |
Index of italic text flag in setting value string
Definition at line 110 of file EditUserDefaultASSetting.java.
|
static |
Index of underlined text flag in setting value string
Definition at line 112 of file EditUserDefaultASSetting.java.
|
static |
Index of green content of color in color string
Definition at line 122 of file EditUserDefaultASSetting.java.
|
private |
Indicates that the text is italic
Definition at line 91 of file EditUserDefaultASSetting.java.
|
static |
Length of color prefix
Definition at line 114 of file EditUserDefaultASSetting.java.
|
static |
Index of red content of color in color string
Definition at line 120 of file EditUserDefaultASSetting.java.
|
private |
Edited setting or setting to be deleted
Definition at line 46 of file EditUserDefaultASSetting.java.
|
static |
Index of setting name in name string
Definition at line 116 of file EditUserDefaultASSetting.java.
|
private |
Name of annotation type of user annotation style setting
Definition at line 41 of file EditUserDefaultASSetting.java.
|
private |
Green component of annotation font color
Definition at line 81 of file EditUserDefaultASSetting.java.
|
private |
Green component of annotation font color
Definition at line 76 of file EditUserDefaultASSetting.java.
|
private |
Red component of annotation font color
Definition at line 71 of file EditUserDefaultASSetting.java.
|
private |
Indicates that the text is underlined
Definition at line 96 of file EditUserDefaultASSetting.java.