Package com.iizigo.term.prop
Interface IScreenRectangle
- All Known Implementing Classes:
CaptureFieldProp,EditorScreenFieldProp,EditorScreenIdentificationProp
public interface IScreenRectangleInterface for screen rectangles.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.swt.widgets.CompositecreateToolTip(org.eclipse.swt.widgets.Composite parent, ITermEditor editor)Creates the tooltip composite.intgetColorType()Gets the type for colors, see the PluginPreference.TERM_RECTANGLE_TYPES.intgetHeight()Gets the height.org.eclipse.swt.graphics.RectanglegetRectangle()Gets the Rectangle.ScreenRectangleInfogetRectInfo()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.booleanisVerifiedSuccessfully()Checks 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 Detail
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
void saveRectInfo(ScreenRectangleInfo rectInfo)
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.