|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.nierbeck.timeTrack.views.TextObserver
public class TextObserver
Constructor Summary | |
---|---|
TextObserver(org.eclipse.swt.widgets.Composite parent,
int style)
|
Method Summary | |
---|---|
void |
addFocusListener(org.eclipse.swt.events.FocusListener listener)
Adds a listener to the focus event |
void |
addModifyListener(org.eclipse.swt.events.ModifyListener listener)
Adds listener to observer |
void |
addSelectionListener(org.eclipse.swt.events.SelectionListener listener)
Adds listener to observer |
void |
addVerifyListener(org.eclipse.swt.events.VerifyListener listener)
Adds listener to observer |
void |
append(java.lang.String string)
Delegate Method |
void |
clearSelection()
Delegate Method |
org.eclipse.swt.graphics.Point |
computeSize(int wHint,
int hHint,
boolean changed)
Delegate Method |
org.eclipse.swt.graphics.Rectangle |
computeTrim(int x,
int y,
int width,
int height)
Delegate Method |
void |
copy()
Delegate Method |
void |
cut()
Delegate Method |
int |
getBorderWidth()
Delegate Method |
int |
getCaretLineNumber()
Delegate Method |
org.eclipse.swt.graphics.Point |
getCaretLocation()
Delegate Method |
int |
getCaretPosition()
Delegate Method |
int |
getCharCount()
Delegate Method |
boolean |
getDoubleClickEnabled()
Delegate Method |
char |
getEchoChar()
Delegate Method |
boolean |
getEditable()
Delegate Method |
int |
getLineCount()
Delegate Method |
java.lang.String |
getLineDelimiter()
Delegate Method |
int |
getLineHeight()
Delegate Method |
int |
getOrientation()
Delegate Method |
org.eclipse.swt.graphics.Point |
getSelection()
Delegate Method |
int |
getSelectionCount()
Delegate Method |
java.lang.String |
getSelectionText()
Delegate Method |
int |
getTabs()
Delegate Method |
java.lang.String |
getText()
Delegate Method |
java.lang.String |
getText(int start,
int end)
Delegate Method |
int |
getTextLimit()
Delegate Method |
int |
getTopIndex()
Delegate Method |
int |
getTopPixel()
Delegate Method |
void |
insert(java.lang.String string)
Delegate Method |
void |
paste()
Delegate Method |
void |
removeModifyListener(org.eclipse.swt.events.ModifyListener listener)
removes the modyfy listener |
void |
removeSelectionListener(org.eclipse.swt.events.SelectionListener listener)
removes the given selection listener |
void |
removeVerifyListener(org.eclipse.swt.events.VerifyListener listener)
removes the given verify listener |
void |
selectAll()
Delegate Method |
void |
setBounds(org.eclipse.swt.graphics.Rectangle rect)
Delegate Method |
void |
setDoubleClickEnabled(boolean doubleClick)
Delegate Method |
void |
setEchoChar(char echo)
Delegate Method |
void |
setEditable(boolean editable)
Delegate Method |
void |
setFont(org.eclipse.swt.graphics.Font font)
Delegate Method |
void |
setLayoutData(org.eclipse.swt.layout.RowData durationData)
Delegate Method |
void |
setOrientation(int orientation)
Delegate Method |
void |
setRedraw(boolean redraw)
Delegate Method |
void |
setSelection(int start)
Delegate Method |
void |
setSelection(int start,
int end)
Delegate Method |
void |
setSelection(org.eclipse.swt.graphics.Point selection)
Delegate Method |
void |
setTabs(int tabs)
Delegate Method |
void |
setText(java.lang.String string)
Delegate Method |
void |
setTextLimit(int limit)
Delegate Method |
void |
setTopIndex(int index)
Delegate Method |
void |
showSelection()
Delegate Method |
void |
update(java.util.Observable o,
java.lang.Object arg)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextObserver(org.eclipse.swt.widgets.Composite parent, int style)
parent
- - the Parent of the Compositstyle
- - the Style of the CompositMethod Detail |
---|
public final void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
o
- - the Observablearg
- - the argumentObserver.update(java.util.Observable, java.lang.Object)
public final void addModifyListener(org.eclipse.swt.events.ModifyListener listener)
listener
- - the listener to addpublic final void addSelectionListener(org.eclipse.swt.events.SelectionListener listener)
listener
- - the listener to addpublic final void addVerifyListener(org.eclipse.swt.events.VerifyListener listener)
listener
- - the listener to addpublic final void append(java.lang.String string)
string
- - delegated to Textpublic final void clearSelection()
public final org.eclipse.swt.graphics.Point computeSize(int wHint, int hHint, boolean changed)
wHint
- - delegated to TexthHint
- - delegated to Textchanged
- - delegated to Text
public final org.eclipse.swt.graphics.Rectangle computeTrim(int x, int y, int width, int height)
x
- - delegated to Texty
- - delegated to Textwidth
- - delegated to Textheight
- - delegated to Text
public final void copy()
Text.copy()
public final void cut()
Text.cut()
public final int getBorderWidth()
Text.getBorderWidth()
public final int getCaretLineNumber()
Text.getCaretLineNumber()
public final org.eclipse.swt.graphics.Point getCaretLocation()
Text.getCaretLocation()
public final int getCaretPosition()
Text.getCaretPosition()
public final int getCharCount()
Text.getCharCount()
public final boolean getDoubleClickEnabled()
Text.getDoubleClickEnabled()
public final char getEchoChar()
Text.getEchoChar()
public final boolean getEditable()
Text.getEditable()
public final int getLineCount()
Text.getLineCount()
public final java.lang.String getLineDelimiter()
Text.getLineDelimiter()
public final int getLineHeight()
Text.getLineHeight()
public final int getOrientation()
Text.getOrientation()
public final org.eclipse.swt.graphics.Point getSelection()
Text.getSelection()
public final int getSelectionCount()
Text.getSelectionCount()
public final java.lang.String getSelectionText()
Text.getSelectionText()
public final int getTabs()
Text.getTabs()
public final java.lang.String getText()
Text.getText()
public final java.lang.String getText(int start, int end)
start
- - delegated to textend
- - delegated to text
Text.getText(int, int)
public final int getTextLimit()
Text.getTextLimit()
public final int getTopIndex()
Text.getTopIndex()
public final int getTopPixel()
Text.getTopPixel()
public final void insert(java.lang.String string)
string
- - delegated to TextText.insert(java.lang.String)
public final void paste()
Text.paste()
public final void removeModifyListener(org.eclipse.swt.events.ModifyListener listener)
listener
- - the listener which has to be removed from the listenersText.removeModifyListener(org.eclipse.swt.events.ModifyListener)
public final void removeSelectionListener(org.eclipse.swt.events.SelectionListener listener)
listener
- - the listener to be removedpublic final void removeVerifyListener(org.eclipse.swt.events.VerifyListener listener)
listener
- - the listener to be removedpublic final void selectAll()
Text.selectAll()
public final void setDoubleClickEnabled(boolean doubleClick)
doubleClick
- - delegated to TextText.setDoubleClickEnabled(boolean)
public final void setEchoChar(char echo)
echo
- - delegated to TextText.setEchoChar(char)
public final void setEditable(boolean editable)
editable
- - delegated to TextText.setEditable(boolean)
public final void setFont(org.eclipse.swt.graphics.Font font)
font
- - delegated to TextText.setFont(org.eclipse.swt.graphics.Font)
public final void setOrientation(int orientation)
orientation
- - delegated to TextText.setOrientation(int)
public final void setRedraw(boolean redraw)
redraw
- - delegated to TextText.setRedraw(boolean)
public final void setSelection(int start)
start
- - delegated to TextText.setSelection(int)
public final void setSelection(int start, int end)
start
- - delegated to Textend
- - delegated to TextText.setSelection(int, int)
public final void setSelection(org.eclipse.swt.graphics.Point selection)
selection
- - delegated to TextText.setSelection(org.eclipse.swt.graphics.Point)
public final void setTabs(int tabs)
tabs
- - delegated to TextText.setTabs(int)
public final void setText(java.lang.String string)
string
- - delegated to TextText.setText(java.lang.String)
public final void setTextLimit(int limit)
limit
- - delegated to TextText.setTextLimit(int)
public final void setTopIndex(int index)
index
- - delegated to TextText.setTopIndex(int)
public final void showSelection()
Text.showSelection()
public final void setLayoutData(org.eclipse.swt.layout.RowData durationData)
durationData
- - delegated to TextControl.setLayoutData(java.lang.Object)
public final void addFocusListener(org.eclipse.swt.events.FocusListener listener)
listener
- - the listener to be addedpublic final void setBounds(org.eclipse.swt.graphics.Rectangle rect)
rect
- - delegated to TextControl.setBounds(org.eclipse.swt.graphics.Rectangle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |