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.Composite
createToolTip
(org.eclipse.swt.widgets.Composite parent, ITermEditor editor) Creates the tooltip composite.int
Gets the type for colors, see the PluginPreference.TERM_RECTANGLE_TYPES.int
Gets the height.org.eclipse.swt.graphics.Rectangle
Gets the Rectangle.Gets the screen rectangle info object.int
getWidth()
Gets the width.int
getX()
Gets the X position.int
getY()
Gets the Y position.boolean
isShown()
Checks if shown on screen.boolean
Checks for verification success.boolean
mustWrap()
Check if the rectangle must wrap (for host fields).void
saveRectInfo
(ScreenRectangleInfo rectInfo) Saves the screen rectangle info object.void
setRectangle
(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.