public class DPanel extends DTextStyle
_0136_bold, _0137_italic, bold_edit, bold_label, bold_show, bold_updater, italic_edit, italic_label, italic_show, italic_updater
_0130_text, stext, text_edit, text_label, text_show, text_tooltip, text_updater, text_validator
_0009_lock, _0600_opaque, _0940_col_scheme, col_scheme_edit, col_scheme_editor, col_scheme_label, col_scheme_show, col_scheme_updater, colScheme, jpalette, lock_edit, lock_label, lock_show, lock_updater, opaque_edit, opaque_label, opaque_show
_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 |
---|
DPanel() |
Modifier and Type | Method and Description |
---|---|
void |
collapsedChange() |
void |
collapsibleChange() |
void |
draw(Graphics2D g,
AffineTransform paf,
DBase selected) |
void |
drawSelector(Graphics2D g)
Draw a selector if the control is the one being edited.
|
boolean |
isOver(int x,
int y)
Make allowance for the panel tab
|
void |
isOver(MutableDBase m,
int x,
int y)
Determines whether a position is over the control and if it is whether it is
over the body of the control or a resize handle.
|
void |
make_creator(ArrayList<String> lines,
DBase parent,
String window)
Recursive function to first get the creator code for this
component then repeat for any children.
|
void |
opaqueChange() |
updateStyle
get_text, textChanged
colourSchemeChange, lockChange
get_name, getImageFromDataFolder, getSize, getTableModel, isMoveable, 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 _0300_collapsed
public String collapsed_label
public Boolean collapsed_edit
public Boolean collapsed_show
public String collapsed_updater
public Boolean _0301_collapsible
public String collapsible_label
public Boolean collapsible_edit
public Boolean collapsible_show
public String collapsible_updater
public Boolean _0310_draggable
public String draggable_label
public Boolean draggable_edit
public Boolean draggable_show
public String opaque_updater
public void opaqueChange()
public void collapsedChange()
public void collapsibleChange()
public void make_creator(ArrayList<String> lines, DBase parent, String window)
DBase
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)
public void drawSelector(Graphics2D g)
DBase
drawSelector
in class DBase
public void isOver(MutableDBase m, int x, int y)
DBase
public boolean isOver(int x, int y)
Processing tool G4PTool by Peter Lager. (C) 2015