| java.lang.Object org.eclipse.jface.internal.text.html.BrowserInformationControl
BrowserInformationControl | public class BrowserInformationControl implements IInformationControl,IInformationControlExtension,IInformationControlExtension3,IInformationControlExtension4,DisposeListener(Code) | | Displays textual information in a
org.eclipse.swt.browser.Browser widget.
Moved into this package from org.eclipse.jface.internal.text.revisions .
This class may be instantiated; it is not intended to be subclassed.
Current problems:
- the size computation is too small
- focusLost event is not sent - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=84532
since: 3.2 |
Constructor Summary | |
public | BrowserInformationControl(Shell parent, int shellStyle, int style) Creates a default information control with the given shell as parent. | public | BrowserInformationControl(Shell parent, int shellStyle, int style, String statusFieldText) Creates a default information control with the given shell as parent. | public | BrowserInformationControl(Shell parent, int style) Creates a default information control with the given shell as parent. | public | BrowserInformationControl(Shell parent) Creates a default information control with the given shell as parent.
No information presenter is used to process the information
to be displayed. |
BrowserInformationControl | public BrowserInformationControl(Shell parent, int shellStyle, int style)(Code) | | Creates a default information control with the given shell as parent. The given
information presenter is used to process the information to be displayed. The given
styles are applied to the created styled text widget.
Parameters: parent - the parent shell Parameters: shellStyle - the additional styles for the shell Parameters: style - the additional styles for the styled text widget |
BrowserInformationControl | public BrowserInformationControl(Shell parent, int shellStyle, int style, String statusFieldText)(Code) | | Creates a default information control with the given shell as parent. The given
information presenter is used to process the information to be displayed. The given
styles are applied to the created styled text widget.
Parameters: parent - the parent shell Parameters: shellStyle - the additional styles for the shell Parameters: style - the additional styles for the styled text widget Parameters: statusFieldText - the text to be used in the optional status fieldor null if the status field should be hidden |
BrowserInformationControl | public BrowserInformationControl(Shell parent, int style)(Code) | | Creates a default information control with the given shell as parent. The given
information presenter is used to process the information to be displayed. The given
styles are applied to the created styled text widget.
Parameters: parent - the parent shell Parameters: style - the additional styles for the browser widget |
BrowserInformationControl | public BrowserInformationControl(Shell parent)(Code) | | Creates a default information control with the given shell as parent.
No information presenter is used to process the information
to be displayed. No additional styles are applied to the styled text widget.
Parameters: parent - the parent shell |
addDisposeListener | public void addDisposeListener(DisposeListener listener)(Code) | | |
addFocusListener | public void addFocusListener(FocusListener listener)(Code) | | |
computeSizeHint | public Point computeSizeHint()(Code) | | |
computeTrim | public Rectangle computeTrim()(Code) | | |
dispose | public void dispose()(Code) | | |
getBounds | public Rectangle getBounds()(Code) | | |
hasContents | public boolean hasContents()(Code) | | |
isAvailable | public static boolean isAvailable(Composite parent)(Code) | | Tells whether the SWT Browser widget and hence this information
control is available.
Parameters: parent - the parent component used for checking or null if none true if this control is available |
isFocusControl | public boolean isFocusControl()(Code) | | |
removeDisposeListener | public void removeDisposeListener(DisposeListener listener)(Code) | | |
removeFocusListener | public void removeFocusListener(FocusListener listener)(Code) | | |
restoresLocation | public boolean restoresLocation()(Code) | | |
restoresSize | public boolean restoresSize()(Code) | | |
setBackgroundColor | public void setBackgroundColor(Color background)(Code) | | |
setFocus | public void setFocus()(Code) | | |
setForegroundColor | public void setForegroundColor(Color foreground)(Code) | | |
setInformation | public void setInformation(String content)(Code) | | |
setLocation | public void setLocation(Point location)(Code) | | |
setSize | public void setSize(int width, int height)(Code) | | |
setSizeConstraints | public void setSizeConstraints(int maxWidth, int maxHeight)(Code) | | |
setStatusText | public void setStatusText(String statusFieldText)(Code) | | |
setVisible | public void setVisible(boolean visible)(Code) | | |
widgetDisposed | public void widgetDisposed(DisposeEvent event)(Code) | | |
|
|