Package org.luwrain.interaction.javafx
Class JavaFxInteraction
java.lang.Object
org.luwrain.interaction.javafx.JavaFxInteraction
- All Implemented Interfaces:
Interaction
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.luwrain.core.Interaction
Interaction.GraphicalMode, Interaction.GraphicalModeControl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearRect
(int left, int top, int right, int bottom) void
close()
void
drawHorizontalLine
(int left, int right, int y) void
void
void
drawVerticalLine
(int top, int bottom, int x) void
int
int
int
boolean
init
(InteractionParams params, OperatingSystem os) boolean
setDesirableFontSize
(int size) void
setHotPoint
(int x, int y) void
showGraphical
(Interaction.GraphicalMode graphicalMode) void
void
startInputEventsAccepting
(EventConsumer eventConsumer) void
-
Constructor Details
-
JavaFxInteraction
public JavaFxInteraction()
-
-
Method Details
-
init
- Specified by:
init
in interfaceInteraction
-
close
public void close()- Specified by:
close
in interfaceInteraction
-
startInputEventsAccepting
- Specified by:
startInputEventsAccepting
in interfaceInteraction
-
stopInputEventsAccepting
public void stopInputEventsAccepting()- Specified by:
stopInputEventsAccepting
in interfaceInteraction
-
setDesirableFontSize
public boolean setDesirableFontSize(int size) - Specified by:
setDesirableFontSize
in interfaceInteraction
-
getFontSize
public int getFontSize()- Specified by:
getFontSize
in interfaceInteraction
-
getWidthInCharacters
public int getWidthInCharacters()- Specified by:
getWidthInCharacters
in interfaceInteraction
-
getHeightInCharacters
public int getHeightInCharacters()- Specified by:
getHeightInCharacters
in interfaceInteraction
-
startDrawSession
public void startDrawSession()- Specified by:
startDrawSession
in interfaceInteraction
-
clearRect
public void clearRect(int left, int top, int right, int bottom) - Specified by:
clearRect
in interfaceInteraction
-
drawText
- Specified by:
drawText
in interfaceInteraction
-
drawText
- Specified by:
drawText
in interfaceInteraction
-
endDrawSession
public void endDrawSession()- Specified by:
endDrawSession
in interfaceInteraction
-
setHotPoint
public void setHotPoint(int x, int y) - Specified by:
setHotPoint
in interfaceInteraction
-
drawVerticalLine
public void drawVerticalLine(int top, int bottom, int x) - Specified by:
drawVerticalLine
in interfaceInteraction
-
drawHorizontalLine
public void drawHorizontalLine(int left, int right, int y) - Specified by:
drawHorizontalLine
in interfaceInteraction
-
showGraphical
- Specified by:
showGraphical
in interfaceInteraction
-