public final class DWindow extends DBase
_0010_name, _0030_eventHandler, _0820_x, _0821_y, _0826_width, _0827_height, componentClass, eventHandler_edit, eventHandler_label, eventHandler_show, eventHandler_tooltip, eventHandler_validator, globalColorSchemeID, globalColorSchemeName, globalJpalette, height_edit, height_label, height_show, height_tooltip, height_validator, id, name_edit, name_label, name_show, name_tooltip, name_validator, width_edit, width_label, width_show, width_tooltip, width_validator, x_edit, x_label, x_show, x_tooltip, x_validator, y_edit, y_label, y_show, y_tooltip, y_validator
EMPTY_ENUMERATION
ADD_A_CHILD, ADD_CLOSE_HANDLER, ADD_DRAW_HANDLER, ADD_HANDLER, ADD_KEY_HANDLER, ADD_MOUSE_HANDLER, ADD_POST_HANDLER, ADD_PRE_HANDLER, CLOSE_ACTION, CODE_ANY, CODE_GWINDOW_CLOSE, CODE_GWINDOW_DRAW, CODE_GWINDOW_KEY, CODE_GWINDOW_MOUSE, CODE_GWINDOW_PEE, CODE_GWINDOW_POST, CODE_NO_EVENT_PARAM, CODE_TAG, COLLAPSED, COLLAPSIBLE, COLOUR_SCHEME, COMPONENT_NAME, COMPONENT_NAME_0, CTOR_DROPLIST, CTOR_GBUTTON, CTOR_GCHECKBOX, CTOR_GCUSTOMSLIDER, CTOR_GKNOB, CTOR_GLABEL, CTOR_GOPTION, CTOR_GOPTIONGROUP, CTOR_GPANEL, CTOR_GPASSWORD1, CTOR_GPASSWORD2, CTOR_GSLIDER, CTOR_GSLIDER2D, CTOR_GSTICK, CTOR_GTEXTAREA, CTOR_GTEXTFIELD, CTOR_GTIMER, CTOR_IMG_BTN_XYF, CTOR_IMG_BTN_XYFM, CTOR_IMG_BTN_XYWHF, CTOR_IMG_BTN_XYWHFM, CTOR_IMG_TOG_BTN_0, CTOR_IMG_TOG_BTN_1, CTOR_IMG_TOG_BTN_2, CTOR_SET_LIST, CTOR_SPAD, CTOR_WINDOW, CURSOR_CHANGER, DRAGGABLE, EVENT_TYPE_TIME, FIRST_CHAR_INVALID, H_ALIGN_2, H_ALIGN_3, HAS_A_SPACE, INDENT, INIT_DELAY_TIMER, INVALID_CHAR, INVALID_LENGTH, KNOB_CTRL, LOOP_WINDOW, MAKE_VERT, METHOD_END, METHOD_START_0, METHOD_START_1, ON_CLOSE, PWORD_SIZE, RENDERER, SBAR_POLICY, SCALE, SEL_OPTION, SET_ACTION_ON_CLOSE, SET_CONTROLLER, SET_CURSOR_OFF, SET_DRAG_SENSITIVITY, SET_EASING, SET_G4P_MESSAGES, SET_ICON, SET_ICON_ALIGN, SET_LIMITS, SET_LOCAL_COLOR, SET_MOUSE_OVER_ON, SET_NBR_TICKS, SET_OPAQUE, SET_OVER_ARC_ONLY, SET_OVER_GRIP_ONLY, SET_PROMPT_TEXT, SET_SHOW_ARC_ONLY, SET_SHOW_LIMITS, SET_SHOW_TICKS, SET_SHOW_TRACK, SET_SHOW_VALUE, SET_SKETCH_COLOR, SET_SKETCH_TITLE, SET_STICK_MODE, SET_STICK_TICKS, SET_TEXT, SET_TEXT_ALIGN, SET_TEXT_BOLD, SET_TEXT_ITALIC, SET_TEXT_ORIENT, SET_TURN_RANGE, SET_VALUE_TYPE, SET_X_LIMITS, SET_Y_LIMITS, SK_SIZE, SLIDER_SKIN, START_TIMER_0, START_TIMER_1, STICK_TYPE, TEXT_ORIENT, TIME, UNAVAILABLE, V_ALIGN, VALID, VALUE_TYPE, WIN_DRAW, WIN_KEY, WIN_MOUSE, WIN_POST, WIN_PRE
CONFIG_FOLDER, G4P_LIB, G4P_TOOL_DATA_FOLDER, GUI_MODEL_FILE, GUI_MODEL_FILE_FILTER, GUI_MODEL_FILENAME, GUI_PDE_BASE, PDE_TAB_NAME, PDE_TAB_PRETTY_NAME, SEP, TAB0_PDE_BASE
BOTTOM, CENTER, csdrBack, csdrBorder, csdrSlideBack, csdrSlideBorder, csdrThumb, dashed, DASHED_EDGE_COLOR, displayFont, HANDLE_SIZE, heavyStroke, ICON_ONLY, LEFT, MIDDLE, needleStroke, OVER_COMP, OVER_DIAG, OVER_HORZ, OVER_NONE, OVER_VERT, RIGHT, selStroke, stdStroke, TEXT_AND_ICON, TEXT_ONLY, TOP, winBack, winEdge
Constructor and Description |
---|
DWindow(boolean mainSketch)
Create a Window object
|
Modifier and Type | Method and Description |
---|---|
void |
displayScaleChange() |
void |
draw(Graphics2D g,
AffineTransform paf,
DBase selected) |
void |
make_creator(ArrayList<String> lines,
DBase parent,
String window)
This is the main method to create the code to create the Window
|
drawSelector, get_name, getImageFromDataFolder, getSize, getTableModel, isMoveable, isOver, isResizeable, isSelectable, make_declaration, make_event_method, make_window_loop, makeTableModel, set_event_name, set_name, show, toString, updatedInGUI
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public boolean mainSketch
public String _0012_title
public String title_label
public String _0031_renderer
public String renderer_label
public transient EditorBase renderer_editor
public Boolean renderer_edit
public Boolean renderer_show
public String _0032_close_action
public String close_action_label
public transient EditorBase close_action_editor
public Boolean close_action_edit
public Boolean close_action_show
public String _0008_display_scale
public String display_scale_label
public transient EditorBase display_scale_editor
public Boolean display_scale_edit
public Boolean display_scale_show
public String display_scale_updater
public String _0020_wdraw
public String wdraw_label
public String wdraw_tooltip
public Boolean wdraw_edit
public Boolean wdraw_show
public Validator wdraw_validator
public String _0021_wmouse
public String wmouse_label
public String wmouse_tooltip
public Boolean wmouse_edit
public Boolean wmouse_show
public Validator wmouse_validator
public String _0022_wkey
public String wkey_label
public String wkey_tooltip
public Boolean wkey_edit
public Boolean wkey_show
public Validator wkey_validator
public String _0023_wpre
public String wpre_label
public String wpre_tooltip
public Boolean wpre_edit
public Boolean wpre_show
public Validator wpre_validator
public String _0024_wpost
public String wpost_label
public String wpost_tooltip
public Boolean wpost_edit
public Boolean wpost_show
public Validator wpost_validator
public String _0025_wclose
public String wclose_label
public String wclose_tooltip
public Boolean wclose_edit
public Boolean wclose_show
public Validator wclose_validator
public DWindow(boolean mainSketch)
mainSketch
- true if main sketchpublic void displayScaleChange()
public void make_creator(ArrayList<String> lines, DBase parent, String window)
make_creator
in class DBase
parent
- the control that has this as a child default = nullwindow
- the window responsible for drawing this control default = "this"public void draw(Graphics2D g, AffineTransform paf, DBase selected)
Processing tool G4PTool by Peter Lager. (C) 2015