Package com.iizigo.term.internal
Interface IScreenDesigner
- All Known Implementing Classes:
- ScreenDesigner
public interface IScreenDesigner
The screen designer interface hooks the paint and mouse functions.
- Method SummaryModifier and TypeMethodDescriptionGets the rectangle marking constraints.- booleanCursor present (and blinking)?- booleanCheck for hotspot enabled.- void- onDoubleClick- (int x, int y) Marks the host field.- void- paint- (Graphics2D g, int leftMargin, int topMargin, int cxFont, int cyFont, int cxFontReal, int cyFontReal, int cxScreen, int cyScreen, Rectangle clipRect) Paints the Graphics once the screen is drawn, before the cursor.- void- setTerminalWindow- (TerminalWindow window) Sets the TerminalWindow at creation.
- Method Details- setTerminalWindowSets the TerminalWindow at creation.
- paintvoid paint- (Graphics2D g, int leftMargin, int topMargin, int cxFont, int cyFont, int cxFontReal, int cyFontReal, int cxScreen, int cyScreen, Rectangle clipRect) Paints the Graphics once the screen is drawn, before the cursor.
- isCursorPresentboolean isCursorPresent()Cursor present (and blinking)?
- isHotSpotEnabledboolean isHotSpotEnabled()Check for hotspot enabled.
- getMarkingConstraintsRectangle getMarkingConstraints()Gets the rectangle marking constraints. This is used for pop-up windows.- Returns:
- null If no constrains are present.
 
- onDoubleClickvoid onDoubleClick- (int x, int y) Marks the host field.