Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Inherits Composite.
Public Member Functions | |
ChatInput (Composite parent, int style) | |
void | setBackground (Color color) |
void | addKeyListener (KeyListener listener) |
void | setText (String string) |
String | getText () |
boolean | setFocus () |
void | setEnabled (boolean enabled) |
Static Public Attributes | |
static final String | HINT_TEXT = Messages.ChatInput_hint_text |
static final Color | HINT_COLOR |
static final Color | TEXT_COLOR |
Protected Member Functions | |
void | showHint () |
void | hideHint () |
Protected Attributes | |
StyledText | text |
boolean | isHintShown |
This control displays an input field for text input
de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.ChatInput | ( | Composite | parent, |
int | style | ||
) |
void de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.addKeyListener | ( | KeyListener | listener | ) |
String de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.getText | ( | ) |
Return entered text in the widget
void de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.hideHint | ( | ) | [protected] |
void de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.setBackground | ( | Color | color | ) |
void de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.setEnabled | ( | boolean | enabled | ) |
boolean de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.setFocus | ( | ) |
void de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.setText | ( | String | string | ) |
Sets the widgets text
string | the new text |
void de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.showHint | ( | ) | [protected] |
final Color de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.HINT_COLOR [static] |
Display.getDefault().getSystemColor( SWT.COLOR_TITLE_INACTIVE_FOREGROUND)
When no message is entered, use this color to display the hint
final String de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.HINT_TEXT = Messages.ChatInput_hint_text [static] |
When no message is entered, display this hint
boolean de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.isHintShown [protected] |
StyledText de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.text [protected] |
final Color de.fu_berlin.inf.dpp.ui.widgets.chat.parts.ChatInput.TEXT_COLOR [static] |
Display.getDefault().getSystemColor( SWT.COLOR_WIDGET_FOREGROUND)
Color no of entered message