TURTLE_FOLLOW_MODE_ALWAYS
public static final int TURTLE_FOLLOW_MODE_ALWAYS
- 2
TURTLE_FOLLOW_MODE_EDGE
public static final int TURTLE_FOLLOW_MODE_EDGE
- 1
TURTLE_FOLLOW_MODE_NEVER
public static final int TURTLE_FOLLOW_MODE_NEVER
- 0
hide
public static final String hide
inextranode
public static final String inextranode
show
public static final String show
getApplet
public static AdaLogo getApplet()
get the currently running applet.
this is called from engine when about to close frame.
getConsoleFont
public static Font getConsoleFont()
returns the font for the console.
- the font for the console.
getEditorFont
public static Font getEditorFont()
- the font for the editor.
getInvisibleNodeMode
public static String getInvisibleNodeMode()
getTurtleFollowMode
public static int getTurtleFollowMode()
return the turtle follow mode.
this is used by turtle canvas to update view
when turtle moves to edge.
isAntiAlias
public static boolean isAntiAlias()
- the antialias property for turtle canvas.
isExpandedbydefault
public static boolean isExpandedbydefault()
isFilePermission
public static boolean isFilePermission()
true when file access is allowed.
this is used by editor actions.
isPrintSyntaxTree
public static boolean isPrintSyntaxTree()
isRenderQuality
public static boolean isRenderQuality()
- the render quality property for turtle canvas.
isShowAsTree
public static boolean isShowAsTree()
isShowroot
public static boolean isShowroot()
isStartedAsApplet
public static boolean isStartedAsApplet()
returns wether the programm was started as applet or application.
- true if and only if started as applet.
setAntiAlias
public static void setAntiAlias(boolean antiAlias)
set the antialias property for turtle canvas.
antiAlias
- true for anti alias enabled, false for disabled.
setApplet
public static void setApplet(AdaLogo applet)
setConsoleFont
public static void setConsoleFont(Font consoleFont)
set the font to be used by the console.
consoleFont
-
setConsoleFontSize
public static void setConsoleFontSize(float size)
set the font size for the console.
size
-
setEditorFont
public static void setEditorFont(Font editorFont)
set the font to be used by the editor.
editorFont
-
setEditorFontSize
public static void setEditorFontSize(float size)
set the font size for the editor.
size
-
setExpandedbydefault
public static void setExpandedbydefault(boolean expandedbydefault)
setFilePermission
public static void setFilePermission(boolean perm)
setInvisibleNodeModeHide
public static void setInvisibleNodeModeHide()
setInvisibleNodeModeInExtraNode
public static void setInvisibleNodeModeInExtraNode()
setInvisibleNodeModeShow
public static void setInvisibleNodeModeShow()
setPrintSyntaxTree
public static void setPrintSyntaxTree(boolean printSyntaxTree)
setRenderQuality
public static void setRenderQuality(boolean renderQuality)
set the render quality property for turtle canvas.
renderQuality
- true for high render quality,
false for speed render quality.
setShowAsTree
public static void setShowAsTree(boolean showastree)
setShowroot
public static void setShowroot(boolean showroot)
setTurtleFollowMode
public static void setTurtleFollowMode(int turtleFollowMode)