Package com.iizigo.term.prop
Interface IScreenRectangle
- All Known Implementing Classes:
CaptureFieldProp,EditorScreenFieldProp,EditorScreenIdentificationProp
public interface IScreenRectangle
Interface for screen rectangles.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.swt.widgets.CompositecreateToolTip(org.eclipse.swt.widgets.Composite parent, ITermEditor editor) Creates the tooltip composite.intGets the type for colors, see the PluginPreference.TERM_RECTANGLE_TYPES.intGets the height.org.eclipse.swt.graphics.RectangleGets the Rectangle.Gets the screen rectangle info object.intgetWidth()Gets the width.intgetX()Gets the X position.intgetY()Gets the Y position.booleanisShown()Checks if shown on screen.booleanChecks for verification success.booleanmustWrap()Check if the rectangle must wrap (for host fields).voidsaveRectInfo(ScreenRectangleInfo rectInfo) Saves the screen rectangle info object.voidsetRectangle(org.eclipse.swt.graphics.Rectangle r) Sets the Rectangle.
Method Details
mustWrap
boolean mustWrap()Check if the rectangle must wrap (for host fields).getX
int getX()Gets the X position.getY
int getY()Gets the Y position.getWidth
int getWidth()Gets the width.getHeight
int getHeight()Gets the height.getRectangle
org.eclipse.swt.graphics.Rectangle getRectangle()Gets the Rectangle.setRectangle
void setRectangle(org.eclipse.swt.graphics.Rectangle r) Sets the Rectangle.getColorType
int getColorType()Gets the type for colors, see the PluginPreference.TERM_RECTANGLE_TYPES.getRectInfo
ScreenRectangleInfo getRectInfo()Gets the screen rectangle info object. One is allocated if not present.saveRectInfo
Saves the screen rectangle info object.isShown
boolean isShown()Checks if shown on screen.isVerifiedSuccessfully
boolean isVerifiedSuccessfully()Checks for verification success.createToolTip
org.eclipse.swt.widgets.Composite createToolTip(org.eclipse.swt.widgets.Composite parent, ITermEditor editor) Creates the tooltip composite.