campy.private.backends.jbe.backend_jbe module
Construct a backend by using the Stanford Portable Library JAR.
This module handles the initialization of and connection to the backend JAR,
as well as all interprocess communications.
This specific backend should not be directly referenced by any client applications.
-
class
campy.private.backends.jbe.backend_jbe.
JavaBackend
[source]
Bases: object
-
BACKEND
= None
-
EVENT_QUEUE
= None
-
Q
= None
-
SOURCE_TABLE
= None
-
TIMER_TABLE
= None
-
WINDOW_TABLE
= None
-
addItem
(gobj, item)[source]
-
clearConsole
()[source]
-
createGChooser
(gobj)[source]
-
createGTextField
(gobj, num_chars)[source]
-
create_sound
(sound, filename)[source]
-
delete_sound
(sound)[source]
-
echo_console
(line, stderr=False)[source]
-
end_line_console
(stderr)[source]
-
file_open_file_dialog
(title, mode, path)[source]
-
g3drect_constructor
(gobj, width, height, raised)[source]
-
g3drect_set_raised
(gobj, raised)[source]
-
garc_constructor
(gobj, width, height, start, sweep)[source]
-
garc_set_frame_rectangle
(gobj, x, y, width, height)[source]
-
garc_set_start_angle
(gobj, angle)[source]
-
garc_set_sweep_angle
(gobj, angle)[source]
-
gbufferedimage_constructor
(gobj, x, y, width, height)[source]
-
gbufferedimage_fill
(gobj, rgb)[source]
-
gbufferedimage_fill_region
(gobj, x, y, width, height, rgb)[source]
-
gbufferedimage_load
(gobj, filename)[source]
-
gbufferedimage_resize
(gobj, width, height, retain)[source]
-
gbufferedimage_save
(gobj, filename)[source]
-
gbufferedimage_set_rgb
(gobj, x, y, rgb)[source]
-
gbufferedimage_update_all_pixels
(gobj, base64)[source]
-
gbutton_constructor
(gobj, label)[source]
-
gcheckbox_constructor
(gobj, label)[source]
-
gcheckbox_is_selected
(gobj)[source]
-
gcheckbox_set_selected
(gobj, state)[source]
-
gcompound_add
(compound, gobj)[source]
-
gcompound_constructor
(gobj)[source]
-
getNextEvent
(mask)[source]
-
getSelectedItem
(gobj)[source]
-
getSize
(gobj)[source]
-
getText
(gobj)[source]
-
get_line_console
()[source]
-
get_pipe
()[source]
-
get_result
()[source]
-
get_status
()[source]
-
gfilechooser_show_open_dialog
(current_dir, file_filter)[source]
-
gfilechooser_show_save_dialog
(current_dir, file_filter)[source]
-
gimage_constructor
(gobj, filename)[source]
-
glabel_constructor
(gobj, label)[source]
-
glabel_get_font_ascent
(gobj)[source]
-
glabel_get_font_descent
(gobj)[source]
-
glabel_get_size
(gobj)[source]
-
glabel_set_font
(gobj, font)[source]
-
glabel_set_label
(gobj, str)[source]
-
gline_constructor
(gobj, x1, y1, x2, y2)[source]
-
gline_set_end_point
(gobj, x, y)[source]
-
gline_set_start_point
(gobj, x, y)[source]
-
gobject_contains
(gobj, x, y)[source]
-
gobject_get_bounds
(gobj)[source]
-
gobject_remove
(gobj)[source]
-
gobject_rotate
(gobj, theta)[source]
-
gobject_scale
(gobj, sx, sy)[source]
-
gobject_send_backward
(gobj)[source]
-
gobject_send_forward
(gobj)[source]
-
gobject_send_to_back
(gobj)[source]
-
gobject_send_to_front
(gobj)[source]
-
gobject_set_color
(gobj, color)[source]
-
gobject_set_fill_color
(gobj, color)[source]
-
gobject_set_filled
(gobj, flag)[source]
-
gobject_set_line_width
(gobj, line_width)[source]
-
gobject_set_location
(gobj, x, y)[source]
-
gobject_set_size
(gobj, width, height)[source]
-
goptionpane_show_confirm_dialog
(message, title, confirm_type)[source]
-
goptionpane_show_input_dialog
(message, title)[source]
-
goptionpane_show_message_dialog
(message, title, message_type)[source]
-
goptionpane_show_option_dialog
(message, title, options, initially_selected)[source]
-
goptionpane_show_text_file_dialog
(message, title, rows, cols)[source]
-
goval_constructor
(gobj, width, height)[source]
-
gpolygon_add_vertex
(gobj, x, y)[source]
-
gpolygon_constructor
(gobj)[source]
-
grect_constructor
(gobj, width, height)[source]
-
groundrect_constructor
(gobj, width, height, corner)[source]
-
gslider_constructor
(gobj, min, max, value)[source]
-
gslider_get_value
(gobj)[source]
-
gslider_set_value
(gobj, value)[source]
-
gtimer_constructor
(timer, millis)[source]
-
gtimer_delete
(timer)[source]
-
gtimer_pause
(millis)[source]
-
gtimer_start
(timer)[source]
-
gtimer_stop
(timer)[source]
-
gwindow_add_to_region
(gw, gobj, region)[source]
-
gwindow_clear
(gw, exit_on_close)[source]
-
gwindow_clear_canvas
(gw, exit_on_close)[source]
-
gwindow_close
(gw)[source]
-
gwindow_constructor
(gw, width, height, top_compound, visible=True)[source]
-
gwindow_delete
(gw)[source]
-
gwindow_draw
(gw, gobj)[source]
-
gwindow_exit_graphics
()[source]
-
gwindow_get_screen_height
()[source]
-
gwindow_get_screen_width
()[source]
-
gwindow_remove_from_region
(gw, gobj, region)[source]
-
gwindow_repaint
(gw)[source]
-
gwindow_request_focus
(gw)[source]
-
gwindow_set_exit_on_close
(gw, exit_on_close)[source]
-
gwindow_set_region_alignment
(gw, region, align)[source]
-
gwindow_set_visible
(flag, gobj=None, gw=None)[source]
-
gwindow_set_window_title
(gw, title)[source]
-
note_play
(note, repeat)[source]
-
parseActionEvent
(tokens, type)[source]
-
parseEvent
(line)[source]
-
parseKeyEvent
(tokens, type)[source]
-
parseMouseEvent
(tokens, type)[source]
-
parseTimerEvent
(tokens, type)[source]
-
parseWindowEvent
(tokens, type)[source]
-
play_sound
(sound)[source]
-
put_console
(line, stderr=False)[source]
-
put_pipe
(command)[source]
-
scanDimension
(str)[source]
-
scanRectangle
(str)[source]
-
setActionCommand
(gobj, cmd)[source]
-
setConsoleFont
(font)[source]
-
setConsoleSize
(width, height)[source]
-
setSelectedItem
(gobj, item)[source]
-
setText
(gobj, str)[source]
-
waitForEvent
(mask)[source]
-
campy.private.backends.jbe.backend_jbe.
boolalpha
(b)[source]