A B C D E F G H I K L M N O P R S T U V W Y 

A

addAttribute(AttributedCharacterIterator.Attribute, Object) - Method in class g4p_controls.StyledString
Add an attribute that affects the whole length of the string.
addAttribute(AttributedCharacterIterator.Attribute, Object, int, int) - Method in class g4p_controls.StyledString
Set charStart and charEnd to <0 if full length.
addControl(GAbstractControl, float, float, float) - Method in class g4p_controls.GAbstractControl
This will set the rotation of the control to angle overwriting any previous rotation set.
addControl(GAbstractControl, float, float) - Method in class g4p_controls.GAbstractControl
Add a control at the given position with zero rotation angle.
addControl(GAbstractControl) - Method in class g4p_controls.GAbstractControl
Add a control at the position and rotation specified in the control.
addControl(GEditableTextControl) - Method in class g4p_controls.GTabManager
Add the next text control to this tab manager.
addControl(GToggleControl) - Method in class g4p_controls.GToggleGroup
Add a GOption object to this group.
addControls(GAbstractControl...) - Method in class g4p_controls.GAbstractControl
 
addControls(GEditableTextControl...) - Method in class g4p_controls.GTabManager
Attempt to add multiple controls to the tab manager.
addControls(GToggleControl...) - Method in class g4p_controls.GToggleGroup
 
addData(GWinData) - Method in class g4p_controls.GWindow
Add an object that holds the data this window needs to use.
addDrawHandler(Object, String) - Method in class g4p_controls.GWindow
Attempt to add the 'draw' handler method.
addEventHandler(Object, String) - Method in class g4p_controls.GAbstractControl
Attempt to create the default event handler for the component class.
addMouseHandler(Object, String) - Method in class g4p_controls.GWindow
Attempt to add the 'mouse' handler method.
addPostHandler(Object, String) - Method in class g4p_controls.GWindow
Attempt to add the 'post' handler method.
addPreHandler(Object, String) - Method in class g4p_controls.GWindow
Attempt to add the 'pre' handler method.
ALL_METHOD - Static variable in interface g4p_controls.GConstantsInternal
 
ALPHA_BLOCK - Static variable in interface g4p_controls.GConstants
 
ALPHA_PICK - Static variable in interface g4p_controls.GConstants
 
app - Variable in class g4p_controls.GWindowInfo
 
app_g_3d - Variable in class g4p_controls.GWindowInfo
 
appendText(String) - Method in class g4p_controls.GTextArea
Add text to the end of the current text.
appendText(String) - Method in class g4p_controls.GTextField
 
appHeight - Variable in class g4p_controls.GWinApplet
 
appWidth - Variable in class g4p_controls.GWinApplet
 
autoClear - Variable in class g4p_controls.GWinApplet
 

B

BACKGROUND - Static variable in interface g4p_controls.GConstants
 
bkColor - Variable in class g4p_controls.GWinApplet
 
bkImage - Variable in class g4p_controls.GWinApplet
 
BLUE_SCHEME - Static variable in interface g4p_controls.GConstants
 
buttonShowListHandler(GButton, GEvent) - Method in class g4p_controls.GDropList
This method should not be called by the user.

C

clearAllAttributes() - Method in class g4p_controls.StyledString
 
clearAttributes(int, int) - Method in class g4p_controls.StyledString
 
clearStyle() - Method in class g4p_controls.GEditableTextControl
 
CLIP_RUN - Static variable in interface g4p_controls.GConstantsInternal
 
close() - Method in class g4p_controls.GWindow
Allows the user to close this window and release its resources.
CLOSE_WINDOW - Static variable in interface g4p_controls.GConstants
 
COMBI_MODES - Static variable in interface g4p_controls.GConstantsInternal
 
compare(GAbstractControl, GAbstractControl) - Method in class g4p_controls.GAbstractControl.Z_Order
 
copy(String) - Static method in class g4p_controls.GClip
Copy a string to the clipboard
CTRL_ANGULAR - Static variable in interface g4p_controls.GConstants
 
CTRL_HORIZONTAL - Static variable in interface g4p_controls.GConstants
 
CTRL_VERTICAL - Static variable in interface g4p_controls.GConstants
 
CYAN_SCHEME - Static variable in interface g4p_controls.GConstants
 

D

data - Variable in class g4p_controls.GWindow
 
DECIMAL - Static variable in interface g4p_controls.GConstants
 
deleteCharacters(int, int) - Method in class g4p_controls.StyledString
Remove a number of characters from the string
draw() - Method in class g4p_controls.GAbstractControl
 
draw() - Method in class g4p_controls.GButton
 
draw() - Method in class g4p_controls.GDropList
 
draw() - Method in class g4p_controls.GImageButton
 
draw() - Method in class g4p_controls.GKnob
 
draw() - Method in class g4p_controls.GLabel
 
draw() - Method in class g4p_controls.GLinearTrackControl
 
draw() - Method in class g4p_controls.GPanel
Draw the panel.
draw() - Method in class g4p_controls.GSketchPad
 
draw() - Method in class g4p_controls.GTextArea
 
draw() - Method in class g4p_controls.GTextField
 
draw() - Method in class g4p_controls.GToggleControl
 
draw() - Method in class g4p_controls.GWinApplet
INTERNAL USE ONLY
Use addDrawHandler in GWindow to activate this method
draw() - Method in class g4p_controls.GWindowInfo
 
DRAW_METHOD - Static variable in interface g4p_controls.GConstantsInternal
 

E

EXCP_IN_HANDLER - Static variable in interface g4p_controls.GConstantsInternal
 
EXIT_APP - Static variable in interface g4p_controls.GConstants
 
EXPONENT - Static variable in interface g4p_controls.GConstants
 

F

FAMILY - Static variable in interface g4p_controls.GConstants
 
fireAllEvents(boolean) - Method in class g4p_controls.GButton
If the parameter is true all 3 event types are generated, if false only CLICKED events are generated (default behaviour).
fireAllEvents(boolean) - Method in class g4p_controls.GImageButton
If the parameter is true all 3 event types are generated, if false only CLICKED events are generated (default behaviour).
flashCaret(GTimer) - Method in class g4p_controls.GEditableTextControl
Do not call this directly.
forceBufferUpdate() - Method in class g4p_controls.GAbstractControl
This is for emergency use only!!!!
In this version of the library a visual controls is drawn to off-screen buffer and then drawn to the screen by copying the buffer.
FOREGROUND - Static variable in interface g4p_controls.GConstants
 

G

G4P - Class in g4p_controls
The core class for the global manipulation and execution of G4P.
G4P() - Constructor for class g4p_controls.G4P
 
g4p_controls - package g4p_controls
 
GAbstractControl - Class in g4p_controls
Abstract base class for all GUI controls.
GAbstractControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GAbstractControl
 
GAbstractControl.Z_Order - Class in g4p_controls
Comparator used for controlling the order components are drawn
GAbstractControl.Z_Order() - Constructor for class g4p_controls.GAbstractControl.Z_Order
 
GAlign - Enum in g4p_controls
This class provides an enumeration that is used to control the alignment of text and images.
GButton - Class in g4p_controls
This class is the Button component.
GButton(PApplet, float, float, float, float) - Constructor for class g4p_controls.GButton
 
GButton(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GButton
 
GCheckbox - Class in g4p_controls
A two-state toggle control.
GCheckbox(PApplet, float, float, float, float) - Constructor for class g4p_controls.GCheckbox
Create an option button without text.
GCheckbox(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GCheckbox
Create an option button with text.
GClip - Class in g4p_controls
Clipboard functionaliy for plain text
This provides clipboard functionality for text and is currently only used by the GTextField and GTextArea classes.
GColorChooser - Class in g4p_controls
UNDER CONSTRUCTION - DO NOT ATTEMPT TO USE
GColorChooser() - Constructor for class g4p_controls.GColorChooser
 
GConstants - Interface in g4p_controls
These constants can all be available to the Processor.
GConstantsInternal - Interface in g4p_controls
Constants that are used internally by the library.
GCScheme - Class in g4p_controls
Defines a number of color schemes for the GUI components.
GCScheme() - Constructor for class g4p_controls.GCScheme
 
GCustomSlider - Class in g4p_controls
Slider that can be customised with user provided graphics.
GCustomSlider(PApplet, float, float, float, float) - Constructor for class g4p_controls.GCustomSlider
Create a custom slider using the default skin.
GCustomSlider(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GCustomSlider
Create a custom slider using the skin specified.
GDropList - Class in g4p_controls
A drop down list component.
GDropList(PApplet, float, float, float, float) - Constructor for class g4p_controls.GDropList
Create a drop down list component with a list size of 4.
GDropList(PApplet, float, float, float, float, int) - Constructor for class g4p_controls.GDropList
Create a drop down list component with a specified list size.
GEditableTextControl - Class in g4p_controls
This class is the basis for the GTextField and GTextArea classes.
GEditableTextControl(PApplet, float, float, float, float, int) - Constructor for class g4p_controls.GEditableTextControl
 
getActionOnClose() - Method in class g4p_controls.GWindow
Get the action to be performed when the user attempts to close the window.
getColor() - Static method in class g4p_controls.GColorChooser
 
getColor(int) - Static method in class g4p_controls.GCScheme
Set the color scheme to one of the preset schemes BLUE / GREEN / RED / PURPLE / YELLOW / CYAN / BROWN or if you have created your own schemes following the instructions at gui4processing.lagers.org.uk/colorscheme.html then you can enter the appropriate numeric value of the scheme.
getCtrlMode() - Static method in class g4p_controls.G4P
Get the control creation mode @see ctrlMode(int mode)
getCursorOff() - Static method in class g4p_controls.G4P
Inform G4P which cursor to use for mouse over.
getCursorOver() - Method in class g4p_controls.GAbstractControl
Get the shape type when the cursor is over a control
getCX() - Method in class g4p_controls.GAbstractControl
Get the centre x position of the control
getCY() - Method in class g4p_controls.GAbstractControl
Get the centre y position of the control
getDefaultText() - Method in class g4p_controls.GEditableTextControl
Get the default text for this control
getDesc() - Method in enum g4p_controls.GAlign
Get the description of this alignment
getEasing() - Method in class g4p_controls.GValueControl
Get the current value used for easing.
getEndLimit() - Method in class g4p_controls.GValueControl
 
getFocusName() - Static method in class g4p_controls.GAbstractControl
 
getFromID(int) - Static method in enum g4p_controls.GAlign
Get an alignment based on its ID number.
getFromText(String) - Static method in enum g4p_controls.GAlign
Get an alignment based on its alignment text.
getHeight() - Method in class g4p_controls.GAbstractControl
 
getID() - Method in enum g4p_controls.GAlign
Get the id number associated with this alignment
getInitialDelay() - Method in class g4p_controls.GTimer
Get the initial delay time (milliseconds).
getInterval() - Method in class g4p_controls.GTimer
Get the interval time (milliseconds) between events.
getJavaColor(int) - Static method in class g4p_controls.GCScheme
Set the color scheme to one of the preset schemes BLUE / GREEN / RED / PURPLE / YELLOW / CYAN / BROWN or if you have created your own schemes following the instructions at gui4processing.lagers.org.uk/colorscheme.html then you can enter the appropriate numeric value of the scheme.
getLines(Graphics2D) - Method in class g4p_controls.StyledString
Get the text layouts for display if the string has changed since last call to this method regenerate them.
getLocalColorScheme() - Method in class g4p_controls.GAbstractControl
Get the local color scheme ID number.
getMaxLineHeight() - Method in class g4p_controls.StyledString
Get the height of the tallest line
getMaxLineLength() - Method in class g4p_controls.StyledString
Return the length of the longest line.
getNbrLines() - Method in class g4p_controls.StyledString
Return the number of lines in the layout
getNbrTicks() - Method in class g4p_controls.GValueControl
Get the number of tick marks.
getPApplet() - Method in class g4p_controls.GAbstractControl
Get the PApplet that manages this component
getParent() - Method in class g4p_controls.GAbstractControl
Get the parent control.
getPlainText() - Method in class g4p_controls.StyledString
Get the plain text as a String.
getPrecision() - Method in class g4p_controls.GValueControl
Precision used with floating point numbers
getPrettyVersion() - Static method in class g4p_controls.G4P
return the pretty version of the library.
getSelectedIndex() - Method in class g4p_controls.GDropList
Get the index position of the selected item in the array
getSelectedText() - Method in class g4p_controls.GDropList
Get the text for the selected item
getSelectedText() - Method in class g4p_controls.GEditableTextControl
Get the text that has been selected (highlighted) by the user.
getSensitivity() - Method in class g4p_controls.GKnob
This gets the sensitivity to be used in modes CTRL_HORIZONTAL and CTRL_VERTICAL
getSnapshot() - Method in class g4p_controls.GAbstractControl
This method should be used sparingly since it is heavy on resources.
getSnapshot() - Method in class g4p_controls.GTextArea
 
getSnapshot() - Method in class g4p_controls.GTextField
 
getStartLimit() - Method in class g4p_controls.GValueControl
 
getTabHeight() - Method in class g4p_controls.GPanel
 
getText() - Method in class g4p_controls.GEditableTextControl
Get the text in the control
getTextAreaHeight() - Method in class g4p_controls.StyledString
Return the height of the text line(s)
getTextID() - Method in enum g4p_controls.GAlign
Get the text ID associated with this alignment.
getToggleGroup() - Method in class g4p_controls.GToggleControl
Get the toggle group.
getTrackOffset() - Method in class g4p_controls.GLinearTrackControl
Get the visual offset for the value/label text.
getTurnMode() - Method in class g4p_controls.GKnob
Get the current mouse controller mode possible values are
GKnob.CTRL_ANGULAR or GKnob.CTRL_HORIZONTAL) orGKnob.CTRL_VERTICAL
getUnit() - Method in class g4p_controls.GValueControl
 
getValueF() - Method in class g4p_controls.GValueControl
Get the current value as a float
getValueI() - Method in class g4p_controls.GValueControl
Get the current value as an integer.
getValueS() - Method in class g4p_controls.GLinearTrackControl
If we are using labels then this will get the label text associated with the current value.
getValueS() - Method in class g4p_controls.GValueControl
If we are using labels then this will get the label text associated with the current value.
getValueType() - Method in class g4p_controls.GValueControl
 
getVersion() - Static method in class g4p_controls.G4P
return the version of the library used by Processing
getWidth() - Method in class g4p_controls.GAbstractControl
 
getWrapWidth() - Method in class g4p_controls.StyledString
Get the break width used to create the lines.
getX() - Method in class g4p_controls.GAbstractControl
Get the left position of the control
getY() - Method in class g4p_controls.GAbstractControl
Get the left position of the control
GEvent - Enum in g4p_controls
Enumeration of events that can be fired by G4P.
GImageButton - Class in g4p_controls
Buttons create from this class use a number of images to represent it's state.
GImageButton(PApplet, float, float, String[]) - Constructor for class g4p_controls.GImageButton
The control size will be set to the size of the image file used for the button OFF state.
GImageButton(PApplet, float, float, String[], String) - Constructor for class g4p_controls.GImageButton
The control size will be set to the size of the image file used for the button OFF state.
GImageButton(PApplet, float, float, float, float, String[]) - Constructor for class g4p_controls.GImageButton
Create an image button of the size specified by the parameters.
GImageButton(PApplet, float, float, float, float, String[], String) - Constructor for class g4p_controls.GImageButton
Create an image button of the size specified by the parameters.
GKnob - Class in g4p_controls
The provides an extremely configurable GUI knob controller.
GKnob(PApplet, float, float, float, float, float) - Constructor for class g4p_controls.GKnob
Will create the a circular knob control that fits the rectangle define by the values passed as parameters.
GLabel - Class in g4p_controls
The label component.
GLabel(PApplet, float, float, float, float) - Constructor for class g4p_controls.GLabel
 
GLabel(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GLabel
Create a label control.
GLinearTrackControl - Class in g4p_controls
Base class for linear sliders.
GLinearTrackControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GLinearTrackControl
 
GOLD_SCHEME - Static variable in interface g4p_controls.GConstants
 
GOption - Class in g4p_controls
A two-state toggle control.
GOption(PApplet, float, float, float, float) - Constructor for class g4p_controls.GOption
Create an option button without text.
GOption(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GOption
Create an option button with text.
GPanel - Class in g4p_controls
A component that can be used to group GUI components that can be dragged, collapsed (leaves title tab only) and un-collapsed.
GPanel(PApplet, float, float, float, float) - Constructor for class g4p_controls.GPanel
 
GPanel(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GPanel
Create a Panel that comprises of 2 parts the tab which is used to select and move the panel and the container window below the tab which is used to hold other components.
GREEN_SCHEME - Static variable in interface g4p_controls.GConstants
 
grid - Static variable in interface g4p_controls.GConstantsInternal
 
GSketchPad - Class in g4p_controls
Display area for user generated graphics.
GSketchPad(PApplet, float, float, float, float) - Constructor for class g4p_controls.GSketchPad
 
GSlider - Class in g4p_controls
A simple graphical slider.
GSlider(PApplet, float, float, float, float, float) - Constructor for class g4p_controls.GSlider
 
GTabManager - Class in g4p_controls
Allows TABBING between text controls.
GTabManager() - Constructor for class g4p_controls.GTabManager
 
GTextArea - Class in g4p_controls
The text area component.
GTextArea(PApplet, float, float, float, float) - Constructor for class g4p_controls.GTextArea
Create a text area without scrollbars and a text wrap width to fit the control.
GTextArea(PApplet, float, float, float, float, int) - Constructor for class g4p_controls.GTextArea
Create a text field with the given scrollbar policy and a text wrap width to fit the control.
GTextArea(PApplet, float, float, float, float, int, int) - Constructor for class g4p_controls.GTextArea
Create a text field with the given scrollbar policy with a user specified text wrap length
GTextControl - Class in g4p_controls
Is the basis for all classes that have some simple non-editable text element to them.
GTextControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GTextControl
 
GTextField - Class in g4p_controls
The text field component.
GTextField(PApplet, float, float, float, float) - Constructor for class g4p_controls.GTextField
Create a text field without a scrollbar.
GTextField(PApplet, float, float, float, float, int) - Constructor for class g4p_controls.GTextField
Create a text field with the given scrollbar policy.
GTextIconControl - Class in g4p_controls
Base class for controls with text and/or icon.
This class forms the basis for any control that has text and/or an icon.
GTextIconControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GTextIconControl
 
GTimer - Class in g4p_controls
This class is used to trigger events at user defined intervals.
GTimer(PApplet, Object, String, int) - Constructor for class g4p_controls.GTimer
Create the GTimer object with this ctor.
GToggleControl - Class in g4p_controls
This class forms the basis for any two-state type control (toggle switch).
GToggleControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GToggleControl
 
GToggleGroup - Class in g4p_controls
Use this class to create a single selection collection of options.
GToggleGroup() - Constructor for class g4p_controls.GToggleGroup
Create a toggle group object.
GValueControl - Class in g4p_controls
Base class for all slider and knob type controls.
GValueControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GValueControl
 
GWinApplet - Class in g4p_controls
CLASS FOR INTERNAL USE ONLY
This class extends PApplet and provides a drawing surface for the GWindow class.
GWinApplet(String) - Constructor for class g4p_controls.GWinApplet
 
GWinData - Class in g4p_controls
This class is used to hold the data associated with a GWindow object.
GWinData() - Constructor for class g4p_controls.GWinData
 
GWindow - Class in g4p_controls
Objects of this class are separate windows which can be used to hold G4P GUI components or used for drawing or both combined.
GWindow(PApplet, String, int, int, int, int, boolean, String) - Constructor for class g4p_controls.GWindow
Create a window that can be used to hold G4P components or used for drawing or both together.
GWindow(PApplet, String, int, int, PImage, boolean, String) - Constructor for class g4p_controls.GWindow
 
GWindowInfo - Class in g4p_controls
DO NOT ATTEMPT TO USE THIS CLASS
Although this class and many of its methods are declared public this is to make them available through Refelection and means that should only be used inside the library code.
GWindowInfo(PApplet) - Constructor for class g4p_controls.GWindowInfo
Create an applet info object

H

hasFocus() - Method in class g4p_controls.GAbstractControl
Does this component have focus
hasSelection() - Method in class g4p_controls.GEditableTextControl
Find out if some text is selected (highlighted)
hsbEventHandler(GScrollbar, GEvent) - Method in class g4p_controls.GEditableTextControl
Do not call this method directly, G4P uses it to handle input from the horizontal scrollbar.

I

I_CL - Static variable in interface g4p_controls.GConstantsInternal
 
I_COVERED - Static variable in interface g4p_controls.GConstantsInternal
 
I_CR - Static variable in interface g4p_controls.GConstantsInternal
 
I_INSIDE - Static variable in interface g4p_controls.GConstantsInternal
 
I_MODES - Static variable in interface g4p_controls.GConstantsInternal
 
I_NONE - Static variable in interface g4p_controls.GConstantsInternal
 
I_TL - Static variable in interface g4p_controls.GConstantsInternal
 
I_TR - Static variable in interface g4p_controls.GConstantsInternal
 
insertCharacters(int, String) - Method in class g4p_controls.StyledString
Insert 1 or more characters into the string.
insertEOL(int) - Method in class g4p_controls.StyledString
Use this method to insert an EOL character.
INTEGER - Static variable in interface g4p_controls.GConstants
 
isCollapsed() - Method in class g4p_controls.GPanel
Find out if the panel is collapsed
isDraggable() - Method in class g4p_controls.GPanel
Can we drag this panel with the mouse?
isDragging() - Method in class g4p_controls.GAbstractControl
 
isDragging() - Method in class g4p_controls.GPanel
This method is used to discover whether the panel is being dragged to a new position on the screen.
isEnabled() - Method in class g4p_controls.GAbstractControl
Is this component enabled
isHorzAlign() - Method in enum g4p_controls.GAlign
Is this a horizontal alignment constant?
isIncludeOverBezel() - Method in class g4p_controls.GKnob
Is the bezel included when considering when the mouse is over.
isOpaque() - Method in class g4p_controls.GAbstractControl
Find out if the component is opaque
isOverArcOnly() - Method in class g4p_controls.GKnob
Does the mouse only respond when over the arc?
isRunning() - Method in class g4p_controls.GTimer
Is the timer running?
isSelected() - Method in class g4p_controls.GToggleControl
 
isShowArcOnly() - Method in class g4p_controls.GKnob
Are we showing arc only?
isShowLimits() - Method in class g4p_controls.GValueControl
Are the limit values visible?
isShowTicks() - Method in class g4p_controls.GValueControl
Are the tick marks visible?
isShowTrack() - Method in class g4p_controls.GKnob
Are we showing the the value track bar.
isShowValue() - Method in class g4p_controls.GValueControl
Is the current value to be displayed?
isStickToTicks() - Method in class g4p_controls.GValueControl
Is the value constrained to the tick marks?
isValid() - Method in class g4p_controls.GTimer
See if the GTimer object has been created successfully
isVertAlign() - Method in enum g4p_controls.GAlign
Is this a vertical alignment constant?
isVisible() - Method in class g4p_controls.GAbstractControl
 

K

KEEP_OPEN - Static variable in interface g4p_controls.GConstants
 
KEY_METHOD - Static variable in interface g4p_controls.GConstantsInternal
 
keyEvent(KeyEvent) - Method in class g4p_controls.GAbstractControl
 
keyEvent(KeyEvent) - Method in class g4p_controls.GEditableTextControl
 
keyEvent(KeyEvent) - Method in class g4p_controls.GWindowInfo
 

L

length() - Method in class g4p_controls.StyledString
Get the number of characters in this styled string
load(PApplet, String) - Static method in class g4p_controls.StyledString
Load and return a StyledString object from the given file.
lostOwnership(Clipboard, Transferable) - Method in class g4p_controls.GClip
Reqd by ClipboardOwner interface

M

markForDisposal() - Method in class g4p_controls.GAbstractControl
If the control is permanently no longer required then call this method to remove it and free up resources.
markForDisposal() - Method in class g4p_controls.GEditableTextControl
Permanently dispose of this control.
MERGE_RUNS - Static variable in interface g4p_controls.GConstantsInternal
 
messagesEnabled(boolean) - Static method in class g4p_controls.G4P
G4P has a range of support messages eg
if you create a GUI component without an event handler or,
a slider where the visible size of the slider is less than the difference between min and max values.
MISSING - Static variable in interface g4p_controls.GConstantsInternal
 
mode - Variable in class g4p_controls.GWinApplet
 
MOUSE_METHOD - Static variable in interface g4p_controls.GConstantsInternal
 
mouseEvent(MouseEvent) - Method in class g4p_controls.GAbstractControl
 
mouseEvent(MouseEvent) - Method in class g4p_controls.GButton
When a button is clicked on a GButton it generates 3 events (in this order) mouse down, mouse up and mouse clicked.
mouseEvent(MouseEvent) - Method in class g4p_controls.GDropList
 
mouseEvent(MouseEvent) - Method in class g4p_controls.GImageButton
When a button is clicked on a GButton it generates 3 events (in this order) mouse down, mouse up and mouse clicked.
mouseEvent(MouseEvent) - Method in class g4p_controls.GKnob
 
mouseEvent(MouseEvent) - Method in class g4p_controls.GLinearTrackControl
 
mouseEvent(MouseEvent) - Method in class g4p_controls.GPanel
All GUI components are registered for mouseEvents
mouseEvent(MouseEvent) - Method in class g4p_controls.GTextArea
Will respond to mouse events.
mouseEvent(MouseEvent) - Method in class g4p_controls.GTextField
 
mouseEvent(MouseEvent) - Method in class g4p_controls.GToggleControl
 
mouseEvent(MouseEvent) - Method in class g4p_controls.GWinApplet
INTERNAL USE ONLY
Use addDMouseHandler in GWindow to activate this method
mouseEvent(MouseEvent) - Method in class g4p_controls.GWindowInfo
 
mouseHandlerMethod - Variable in class g4p_controls.GWindow
The method in mouseHandlerObject to execute
mouseHandlerObject - Variable in class g4p_controls.GWindow
The object to handle the mouse event

N

NONEXISTANT - Static variable in interface g4p_controls.GConstantsInternal
 

O

OFF_CONTROL - Static variable in interface g4p_controls.GConstantsInternal
 
ORANGE_SCHEME - Static variable in interface g4p_controls.GConstants
 
orgMatrix - Variable in class g4p_controls.GWindowInfo
 
ORIENT_LEFT - Static variable in interface g4p_controls.GConstants
 
ORIENT_RIGHT - Static variable in interface g4p_controls.GConstants
 
ORIENT_TRACK - Static variable in interface g4p_controls.GConstants
 
OVER_CONTROL - Static variable in interface g4p_controls.GConstantsInternal
 
owner - Variable in class g4p_controls.GWinApplet
 
owner - Variable in class g4p_controls.GWinData
 

P

papplet - Variable in class g4p_controls.GWindow
Gives direct access to the PApplet object inside the frame
paste() - Static method in class g4p_controls.GClip
Get a string from the clipboard
pen_1_0 - Static variable in interface g4p_controls.GConstantsInternal
 
pen_2_0 - Static variable in interface g4p_controls.GConstantsInternal
 
pen_3_0 - Static variable in interface g4p_controls.GConstantsInternal
 
pen_4_0 - Static variable in interface g4p_controls.GConstantsInternal
 
post() - Method in class g4p_controls.GAbstractControl
 
post() - Method in class g4p_controls.GWindowInfo
 
POST_METHOD - Static variable in interface g4p_controls.GConstantsInternal
 
POSTURE - Static variable in interface g4p_controls.GConstants
 
POSTURE_OBLIQUE - Static variable in interface g4p_controls.GConstants
 
POSTURE_REGULAR - Static variable in interface g4p_controls.GConstants
 
pre() - Method in class g4p_controls.GAbstractControl
 
pre() - Method in class g4p_controls.GTextArea
 
pre() - Method in class g4p_controls.GTextField
 
pre() - Method in class g4p_controls.GValueControl
 
pre() - Method in class g4p_controls.GWinApplet
INTERNAL USE ONLY
Use addPreHandler in GWindow to activate this method
pre() - Method in class g4p_controls.GWindowInfo
 
PRE_METHOD - Static variable in interface g4p_controls.GConstantsInternal
 
PRESS_CONTROL - Static variable in interface g4p_controls.GConstantsInternal
 
PURPLE_SCHEME - Static variable in interface g4p_controls.GConstants
 

R

RED_SCHEME - Static variable in interface g4p_controls.GConstants
 
registerMethodsForWindow() - Method in class g4p_controls.GWindowInfo
 
registerSketch(PApplet) - Static method in class g4p_controls.G4P
Used to register the main sketch window with G4P.
removeControl(GEditableTextControl) - Method in class g4p_controls.GTabManager
Remove a control from the tab manager.
RUNTIME_ERROR - Static variable in interface g4p_controls.GConstantsInternal
 

S

save(PApplet, StyledString, String) - Static method in class g4p_controls.StyledString
Save the named StyleString in the named file.
SCHEME_10 - Static variable in interface g4p_controls.GConstants
 
SCHEME_11 - Static variable in interface g4p_controls.GConstants
 
SCHEME_12 - Static variable in interface g4p_controls.GConstants
 
SCHEME_13 - Static variable in interface g4p_controls.GConstants
 
SCHEME_14 - Static variable in interface g4p_controls.GConstants
 
SCHEME_15 - Static variable in interface g4p_controls.GConstants
 
SCHEME_8 - Static variable in interface g4p_controls.GConstants
 
SCHEME_9 - Static variable in interface g4p_controls.GConstants
 
SCROLLBAR_HORIZONTAL - Static variable in interface g4p_controls.GConstants
Create and display horizontal scrollbar only.
SCROLLBAR_VERTICAL - Static variable in interface g4p_controls.GConstants
Create and display vertical scrollbar only.
scrollbarEventHandler(GScrollbar, GEvent) - Method in class g4p_controls.GDropList
This method should not be called by the user.
SCROLLBARS_AUTOHIDE - Static variable in interface g4p_controls.GConstants
whether to hide when not required
SCROLLBARS_BOTH - Static variable in interface g4p_controls.GConstants
Create and display both vertical and horizontal scrollbars.
SCROLLBARS_HORIZONTAL_ONLY - Static variable in interface g4p_controls.GConstants
Create and display horizontal scrollbar only.
SCROLLBARS_NONE - Static variable in interface g4p_controls.GConstants
Do not create or display any scrollbars for the text control.
SCROLLBARS_VERTICAL_ONLY - Static variable in interface g4p_controls.GConstants
Create and display vertical scrollbar only.
setActionOnClose(int) - Method in class g4p_controls.GWindow
This sets what happens when the users attempts to close the window.
setAlpha(int) - Method in class g4p_controls.GAbstractControl
Set the transparency of the component and make it unavailable to mouse and keyboard events if below the threshold.
setAlpha(int, boolean) - Method in class g4p_controls.GAbstractControl
Set the transparency of the component and make it unavailable to mouse and keyboard events if below the threshold.
setArcPolicy(boolean, boolean, boolean) - Method in class g4p_controls.GKnob
Convenience method to set both the show and the mouse over arc only properties for this knob
setAutoClear(boolean) - Method in class g4p_controls.GWindow
By default the background() method is called to set the background image/colour every frame.
setAvailable(boolean) - Method in class g4p_controls.GAbstractControl
If a control is made unavailable it will still be drawn but it not respond to user input.
setAvailableChildren(boolean) - Method in class g4p_controls.GAbstractControl
Set the availability for the children only.
setBackground(int) - Method in class g4p_controls.GWinApplet
INTERNAL USE ONLY
Use the equivalent method in GWindow
setBackground(PImage) - Method in class g4p_controls.GWindow
Set the background image to be used instead of a plain color background
The window will resize to accommodate the image.
setBackground(int) - Method in class g4p_controls.GWindow
Set the background color for the window.
setCollapsed(boolean) - Method in class g4p_controls.GPanel
Collapse or open the panel
setCtrlMode(int) - Static method in class g4p_controls.G4P
Change the way position and size parameters are interpreted when a control is created.
setCursorOff(int) - Static method in class g4p_controls.G4P
Inform G4P which cursor shapes will be used.
setCursorOver(int) - Method in class g4p_controls.GAbstractControl
Set the shape type to use when the cursor is over a control
setDefaultText(String) - Method in class g4p_controls.GEditableTextControl
Set the default text for this control.
setDefaultText(String) - Method in class g4p_controls.GTextArea
Set the default text for this control.
setDelay(int) - Method in class g4p_controls.GTimer
Sets the initial delay and the interval between events.
setDraggable(boolean) - Method in class g4p_controls.GPanel
Sets whether the panel can be dragged by the mouse or not.
setEasing(float) - Method in class g4p_controls.GValueControl
Set the amount of easing to be used when a value is changing.
setEnabled(boolean) - Method in class g4p_controls.GAbstractControl
Enable or disable the ability of the component to generate mouse events.
GTextField - it also controls key press events
GPanel - controls whether the panel can be moved/collapsed/expanded
setEnabled(boolean) - Method in class g4p_controls.GButton
Enable or disable the ability of the component to generate mouse events.
If the control is to be disabled when it is clicked then this will guarentee the mouse offf button image is used.
setEnabled(boolean) - Method in class g4p_controls.GSlider
Enable or disable the ability of the component to generate mouse events.
GTextField - it also controls key press events
GPanel - controls whether the panel can be moved/collapsed/expanded
setFocus(boolean) - Method in class g4p_controls.GAbstractControl
Determines whether this component is to have focus or not
setFocus(boolean) - Method in class g4p_controls.GEditableTextControl
Determines whether this component is to have focus or not
setFont(Font) - Method in class g4p_controls.GEditableTextControl
Set the font for this control.
setFont(Font) - Method in class g4p_controls.GPanel
 
setFont(Font) - Method in class g4p_controls.GTextControl
Set the font to be used in this control
setFont(Font) - Method in class g4p_controls.StyledString
 
setGlobalAlpha(int) - Static method in class g4p_controls.G4P
Set the transparency of all controls.
setGlobalColorScheme(int) - Static method in class g4p_controls.G4P
Set the global colour scheme.
setGraphic(PGraphics) - Method in class g4p_controls.GSketchPad
 
setGripAmount(float) - Method in class g4p_controls.GKnob
The radius of the inner griper radius is calculated from the bezel radius and the parameter gripAmount using
setIcon(String, int, GAlign, GAlign) - Method in class g4p_controls.GTextIconControl
Set the icon to be used and the horizontal and/or vertical icon alignment.
setIcon(PImage, int, GAlign, GAlign) - Method in class g4p_controls.GTextIconControl
Set the icon to be used and the horizontal and/or vertical icon alignment.
setIconAlign(GAlign, GAlign) - Method in class g4p_controls.GTextIconControl
Change the alignment of an existing icn.
setIncludeOverBezel(boolean) - Method in class g4p_controls.GKnob
Whether to include the bezel when deciding when the mouse is over.
setInitialDelay(int) - Method in class g4p_controls.GTimer
Set the delay before the first event is triggered
setInterval(int) - Method in class g4p_controls.GTimer
Set the interval between events
setItems(String[], int) - Method in class g4p_controls.GDropList
Use this to set or change the list of items to appear in the list.
setJustify(boolean) - Method in class g4p_controls.GEditableTextControl
 
setJustify(boolean) - Method in class g4p_controls.StyledString
Text can be either left or fully justified.
setJustifyRatio(float) - Method in class g4p_controls.StyledString
Justify only if the line has sufficient text to do so.
setLimits(int, int) - Method in class g4p_controls.GValueControl
Sets the range of values to be returned.
setLimits(int, int, int) - Method in class g4p_controls.GValueControl
Sets the initial value and the range of values to be returned.
setLimits(float, float) - Method in class g4p_controls.GValueControl
Sets the range of values to be returned.
setLimits(float, float, float) - Method in class g4p_controls.GValueControl
Sets the initial value and the range of values to be returned.
setLocalColorScheme(int) - Method in class g4p_controls.GAbstractControl
Set the local colour scheme for this control.
setLocalColorScheme(int, boolean) - Method in class g4p_controls.GAbstractControl
Set the local colour scheme for this control.
setLocalColorScheme(int) - Method in class g4p_controls.GEditableTextControl
Sets the local colour scheme for this control
setLocation(int, int) - Method in class g4p_controls.GWindow
Sets the location of the window.
setMouseOverEnabled(boolean) - Static method in class g4p_controls.G4P
Enables or disables cursor over component change.
setNbrTicks(int) - Method in class g4p_controls.GValueControl
The number of ticks must be >= 2 since 2 are required for the slider limits.
setNumberFormat(int, int, String) - Method in class g4p_controls.GValueControl
Set the numberFormat, precision and units in one go.
setNumberFormat(int, int) - Method in class g4p_controls.GValueControl
Set the numberFormat and precision in one go.
setNumberFormat(int) - Method in class g4p_controls.GValueControl
 
setOnTop(boolean) - Method in class g4p_controls.GWindow
Always make this window appear on top of other windows (or not).
setOpaque(boolean) - Method in class g4p_controls.GAbstractControl
Determines whether to show the back colour or not.
setOverArcOnly(boolean) - Method in class g4p_controls.GKnob
Decides when the knob will respond to the mouse buttons.
setPrecision(int) - Method in class g4p_controls.GValueControl
For DECIMAL values this sets the number of decimal places to be displayed.
setResizable(boolean) - Method in class g4p_controls.GWindow
Determines whether the window is resizabale or not.
setRotation(float, int) - Method in class g4p_controls.GAbstractControl
Set the rotation to apply when displaying this control.
setRotation(float) - Method in class g4p_controls.GAbstractControl
 
setSelected(int) - Method in class g4p_controls.GDropList
Set the currently selected item from the droplist by index position.
setSelected(boolean) - Method in class g4p_controls.GToggleControl
 
setSelectedTextStyle(TextAttribute, Object) - Method in class g4p_controls.GEditableTextControl
If some text has been selected then set the style.
setSensitivity(float) - Method in class g4p_controls.GKnob
This gets the sensitivity to be used in modes CTRL_HORIZONTAL and CTRL_VERTICAL
A value of 1 is 1 degree per pixel and a value of 2 is 2 degrees per pixel.
setShowArcOnly(boolean) - Method in class g4p_controls.GKnob
This will decide whether the knob is draw as a full circle or as an arc.
setShowDecor(boolean, boolean, boolean, boolean) - Method in class g4p_controls.GValueControl
Convenience method to set what is to be drawn to the screen.
setShowLimits(boolean) - Method in class g4p_controls.GValueControl
Set whether the limits are to be displayed or not.
setShowTicks(boolean) - Method in class g4p_controls.GLinearTrackControl
Set whether the tick marks are to be displayed or not.
setShowTicks(boolean) - Method in class g4p_controls.GValueControl
Set whether the tick marks are to be displayed or not.
setShowTrack(boolean) - Method in class g4p_controls.GKnob
Whether or not to show the circular progress bar.
setShowValue(boolean) - Method in class g4p_controls.GValueControl
Set whether the current value is to be displayed or not.
setStickToTicks(boolean) - Method in class g4p_controls.GValueControl
Specify whether the values are to be constrained to the tick marks or not.
setStyle(String) - Method in class g4p_controls.GCustomSlider
Change the sin used for the slider.
setStyledText(StyledString) - Method in class g4p_controls.GTextControl
Allows the user to provide their own styled text for this component
setText(String) - Method in class g4p_controls.GPanel
 
setText(String) - Method in class g4p_controls.GTextArea
Set the text to be used.
setText(String, int) - Method in class g4p_controls.GTextArea
Set the text to display and adjust any scrollbars
setText(String) - Method in class g4p_controls.GTextControl
Set the text to be displayed.
setText(String) - Method in class g4p_controls.GTextField
 
setText(String) - Method in class g4p_controls.GTextIconControl
Set the text to be displayed and calculate the wrap length taking into account any icon set.
setTextAlign(GAlign, GAlign) - Method in class g4p_controls.GTextControl
Set the horizontal and/or vertical text alignment.
setTextBold(int, int) - Method in class g4p_controls.GTextControl
Make the selected characters bold.
setTextBold() - Method in class g4p_controls.GTextControl
Make all the characters bold.
setTextItalic(int, int) - Method in class g4p_controls.GTextControl
Make the selected characters italic.
setTextItalic() - Method in class g4p_controls.GTextControl
Make all the characters italic.
setTextOrientation(int) - Method in class g4p_controls.GLinearTrackControl
Set the text orientation for the display of the limits and value if appropriate.
setTextPlain() - Method in class g4p_controls.GTextControl
Clear all applied styles from the whole text.
setTickLabels(String[]) - Method in class g4p_controls.GLinearTrackControl
This method is used to set the text to appear alongside the tick marks.
setTrackOffset(float) - Method in class g4p_controls.GLinearTrackControl
The offset is the distance the value/labels are drawn from the centre of the track.
setTurnMode(int) - Method in class g4p_controls.GKnob
Set the mouse control mode to use, acceptable values are
GKnob.CTRL_ANGULAR or GKnob.CTRL_HORIZONTAL) orGKnob.CTRL_VERTICAL any other value will be ignored.
setTurnRange(float, float) - Method in class g4p_controls.GKnob
Set the limits for the range of valid rotation angles for the knob.
setUnits(String) - Method in class g4p_controls.GValueControl
The units to be displayed with the current and limit values e.g.
setup() - Method in class g4p_controls.GWinApplet
INTERNAL USE ONLY
The PApplet setup method to intialise the drawing surface
setValue(float) - Method in class g4p_controls.GKnob
Set the value for the slider.
setValue(float) - Method in class g4p_controls.GValueControl
Set the value for the slider.
setVisible(boolean) - Method in class g4p_controls.GAbstractControl
 
setVisible(boolean) - Method in class g4p_controls.GWindow
Sets the visibility of the window
(Already available from the Frame class - helps visibility of method in G4P reference)
setWindowAlpha(PApplet, int) - Static method in class g4p_controls.G4P
Set the transparency level for all controls drawn by the given PApplet.
setWindowAlpha(GWindow, int) - Static method in class g4p_controls.G4P
Set the transparency level for all controls drawn by the given GWindow.
setWindowColorScheme(PApplet, int) - Static method in class g4p_controls.G4P
Set the colour scheme for all the controls drawn by the given PApplet.
setWindowColorScheme(GWindow, int) - Static method in class g4p_controls.G4P
Set the colour scheme for all the controls drawn by the given GWindow.
setWrapWidth(int) - Method in class g4p_controls.StyledString
 
SIZE - Static variable in interface g4p_controls.GConstants
 
start() - Method in class g4p_controls.GTimer
Start the timer (call the method forever)
start(int) - Method in class g4p_controls.GTimer
Start the timer and call the method for the number of times indicated by nrepeats If nrepeats is <=0 then repeat forever
stext - Variable in class g4p_controls.GTextControl
The styled version of text
stop() - Method in class g4p_controls.GTimer
Stop the timer (can be restarted with start() method)
STRIKETHROUGH - Static variable in interface g4p_controls.GConstants
 
STRIKETHROUGH_OFF - Static variable in interface g4p_controls.GConstants
 
STRIKETHROUGH_ON - Static variable in interface g4p_controls.GConstants
 
StyledString - Class in g4p_controls
This class is used to represent text with attributes.
StyledString(String) - Constructor for class g4p_controls.StyledString
This is assumed to be a single line of text (i.e.
StyledString(String, int) - Constructor for class g4p_controls.StyledString
Supports multiple lines of text wrapped on word boundaries.
SUPERSCRIPT - Static variable in interface g4p_controls.GConstants
 
SUPERSCRIPT_OFF - Static variable in interface g4p_controls.GConstants
 
SUPERSCRIPT_SUB - Static variable in interface g4p_controls.GConstants
 
SUPERSCRIPT_SUPER - Static variable in interface g4p_controls.GConstants
 

T

tag - Variable in class g4p_controls.GAbstractControl
 
tagNo - Variable in class g4p_controls.GAbstractControl
 
TINT_FOR_ALPHA - Static variable in interface g4p_controls.GConstantsInternal
 
toAdd - Variable in class g4p_controls.GWindowInfo
 
toRemove - Variable in class g4p_controls.GWindowInfo
 
toString() - Method in class g4p_controls.GAbstractControl
 
toString() - Method in enum g4p_controls.GAlign
Get the alignment text.
toString() - Method in enum g4p_controls.GEvent
 
toString() - Method in class g4p_controls.GTextIconControl
 

U

unRegisterMethodsForWindow() - Method in class g4p_controls.GWindowInfo
 
USER_COL_SCHEME - Static variable in interface g4p_controls.GConstants
 

V

valueOf(String) - Static method in enum g4p_controls.GAlign
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum g4p_controls.GEvent
Returns the enum constant of this type with the specified name.
values() - Static method in enum g4p_controls.GAlign
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum g4p_controls.GEvent
Returns an array containing the constants of this enum type, in the order they are declared.
vsbEventHandler(GScrollbar, GEvent) - Method in class g4p_controls.GEditableTextControl
Do not call this method directly, G4P uses it to handle input from the vertical scrollbar.

W

WEIGHT - Static variable in interface g4p_controls.GConstants
 
WEIGHT_BOLD - Static variable in interface g4p_controls.GConstants
 
WEIGHT_DEMIBOLD - Static variable in interface g4p_controls.GConstants
 
WEIGHT_DEMILIGHT - Static variable in interface g4p_controls.GConstants
 
WEIGHT_EXTRA_LIGHT - Static variable in interface g4p_controls.GConstants
 
WEIGHT_EXTRABOLD - Static variable in interface g4p_controls.GConstants
 
WEIGHT_HEAVY - Static variable in interface g4p_controls.GConstants
 
WEIGHT_LIGHT - Static variable in interface g4p_controls.GConstants
 
WEIGHT_MEDIUM - Static variable in interface g4p_controls.GConstants
 
WEIGHT_REGULAR - Static variable in interface g4p_controls.GConstants
 
WEIGHT_SEMIBOLD - Static variable in interface g4p_controls.GConstants
 
WEIGHT_ULTRABOLD - Static variable in interface g4p_controls.GConstants
 
WIDTH - Static variable in interface g4p_controls.GConstants
 
WIDTH_CONDENSED - Static variable in interface g4p_controls.GConstants
 
WIDTH_EXTENDED - Static variable in interface g4p_controls.GConstants
 
WIDTH_REGULAR - Static variable in interface g4p_controls.GConstants
 
WIDTH_SEMI_CONDENSED - Static variable in interface g4p_controls.GConstants
 
WIDTH_SEMI_EXTENDED - Static variable in interface g4p_controls.GConstants
 
windowControls - Variable in class g4p_controls.GWindowInfo
 

Y

YELLOW_SCHEME - Static variable in interface g4p_controls.GConstants
 
A B C D E F G H I K L M N O P R S T U V W Y 

Processing library G4P by Peter Lager. (C) 2012