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

A

acbBorder - Variable in class guicomponents.GCScheme
 
acbFirst - Variable in class guicomponents.GCScheme
 
acbLast - Variable in class guicomponents.GCScheme
 
acbTrack - Variable in class guicomponents.GCScheme
 
add(GComponent) - Method in class guicomponents.GComponent
Add a GUI component to this GComponent at the position specified by component being added.
add(GComponent) - Method in class guicomponents.GWindow
Add a G4P component onto the window.
ADD_DUPLICATE - Static variable in interface guicomponents.GConstants
 
addAbsoluteControl(GComponent) - Method in class guicomponents.GComponent
The control to be added has absolute screen coordinates.
addAttribute(AttributedCharacterIterator.Attribute, Object, int, int) - Method in class guicomponents.StyledString
Set charStart and charEnd to <0 if full length.
addAttribute(AttributedCharacterIterator.Attribute, Object) - Method in class guicomponents.StyledString
Add an attribute that affects the whole length of the string.
addComponent(PApplet, GComponent) - Static method in class guicomponents.G4P
INTERNAL USE ONLY
This should be called by all ctors in GComponent and since all GUI components inherit from GComponent and are required to call a GComponent ctor then all GUI components will automatically be registered in the set.
addCompoundControl(GComponent, float, float, float) - Method in class guicomponents.GComponent
This will set the rotation of the control to angle overwriting any previous rotation set.
addData(GWinData) - Method in class guicomponents.GWindow
Add an object that holds the data this window needs to use.
addDrawHandler(Object, String) - Method in class guicomponents.GWindow
Attempt to add the 'draw' handler method.
addEventHandler(Object, String) - Method in class guicomponents.GComponent
Attempt to create the default event handler for the component class.
addEventHandler(Object, String, Class[]) - Method in class guicomponents.GComponent
Attempt to create the default event handler for the component class.
addEventHandler(Object, String) - Method in class guicomponents.GOption
Attempt to create the default event handler for the component class.
addMouseHandler(Object, String) - Method in class guicomponents.GWindow
Attempt to add the 'mouse' handler method.
addOption(String) - Method in class guicomponents.GCombo
Add an option to the end of the list
addOption(int, String) - Method in class guicomponents.GCombo
Add an option in the given position
addOption(GOption) - Method in class guicomponents.GOptionGroup
INTERNAL USE ONLY
addOption(int, GOption) - Method in class guicomponents.GOptionGroup
Add a new Option at the given position
addPostHandler(Object, String) - Method in class guicomponents.GWindow
Attempt to add the 'post' handler method.
addPreHandler(Object, String) - Method in class guicomponents.GWindow
Attempt to add the 'pre' handler method.
addRelativeControl(GComponent) - Method in class guicomponents.GComponent
The control to be added has screen coordinates relative to this control
addWindow(GWindow) - Static method in class guicomponents.G4P
Add the window's PApplet object to G4P if not already there.
addWindow(PApplet) - Static method in class guicomponents.G4P
Add a PApplet object to G4P if not already there.
addXXX(GComponent) - Method in class guicomponents.GComponent
 
ALPHA_MASK - Static variable in class guicomponents.GCScheme
 
appHeight - Variable in class guicomponents.GWinApplet
 
appWidth - Variable in class guicomponents.GWinApplet
 
autoClear - Variable in class guicomponents.GWinApplet
 

B

BACKGROUND - Static variable in interface guicomponents.GConstants
 
bkColor - Variable in class guicomponents.GWinApplet
 
bkImage - Variable in class guicomponents.GWinApplet
 
BLUE_SCHEME - Static variable in class guicomponents.FCScheme
 
BLUE_SCHEME - Static variable in class guicomponents.GCScheme
 
BOTTOM - Static variable in interface guicomponents.GAlign
 
bringToFront() - Method in class guicomponents.FPanel
Bring this panel to the front i.e.
bringToFront() - Method in class guicomponents.GPanel
Bring this panel to the front i.e.
btnBorder - Variable in class guicomponents.GCScheme
 
btnDown - Variable in class guicomponents.GCScheme
 
btnFont - Variable in class guicomponents.GCScheme
 
btnOff - Variable in class guicomponents.GCScheme
 
btnOver - Variable in class guicomponents.GCScheme
 

C

calcAbsPosition(Point) - Method in class guicomponents.GComponent
This method will calculate the absolute top left position of this component taking into account any ancestors.
calculateFromXY(Graphics2D, float, float) - Method in class guicomponents.StyledString
 
cbxBack - Variable in class guicomponents.GCScheme
 
cbxBorder - Variable in class guicomponents.GCScheme
 
cbxFont - Variable in class guicomponents.GCScheme
 
CENTER - Static variable in interface guicomponents.GAlign
 
CHANGED - Static variable in interface guicomponents.GConstants
 
changeWindow(PApplet) - Method in class guicomponents.GComponent
Called when we add a component to another window.
clearAllAttributes() - Method in class guicomponents.StyledString
 
CLICKED - Static variable in interface guicomponents.GConstants
 
close() - Method in class guicomponents.GWindow
Allows the user to close this window and release its resources.
CLOSE_WINDOW - Static variable in interface guicomponents.GConstants
 
COL_MASK - Static variable in class guicomponents.GCScheme
 
COLLAPSED - Static variable in interface guicomponents.GConstants
 
compare(GComponent, GComponent) - Method in class guicomponents.GComponent.Z_Order
 
compareTo(Object) - Method in class guicomponents.GComponent
 
contains(float, float) - Method in class guicomponents.GComponent
NOT REQD Remove this method from the release version performs the same task as calcTransformedOrigin(px,py) but also tests to see if it is over the control.
copy(String) - Static method in class guicomponents.GClip
Copy a string to the clipboard
CTRL_ANGULAR - Static variable in interface guicomponents.GConstants
 
CTRL_HORIZONTAL - Static variable in interface guicomponents.GConstants
 
CTRL_VERTICAL - Static variable in interface guicomponents.GConstants
 
ctrlMode(int) - Static method in class guicomponents.GComponent
Change the way position and size parameters are interpreted when a control is created.
cursor(int, int) - Static method in class guicomponents.G4P
Inform G4P which cursor shapes will be used.
cursor(int) - Static method in class guicomponents.G4P
Inform G4P which cursor to use for mouse over.
cursorChangeEnabled - Static variable in class guicomponents.G4P
 
CYAN_SCHEME - Static variable in class guicomponents.FCScheme
 
CYAN_SCHEME - Static variable in class guicomponents.GCScheme
 

D

data - Variable in class guicomponents.GWindow
 
DECIMAL - Static variable in class guicomponents.GSlider
 
deleteCharacters(int, int) - Method in class guicomponents.StyledString
Remove a number of characters from the string
DESELECTED - Static variable in interface guicomponents.GConstants
 
deselectedIndex() - Method in class guicomponents.GCombo
 
deselectedIndex() - Method in class guicomponents.GOptionGroup
INTERNAL USE ONLY Return the index of the option that has just been deselected
deselectedOption() - Method in class guicomponents.GOptionGroup
INTERNAL USE ONLY Return the option that has just been deselected
deselectedText() - Method in class guicomponents.GCombo
 
deselectedText() - Method in class guicomponents.GOptionGroup
INTERNAL USE ONLY Return the text of the option that has just been deselected
DISABLE_AUTO_DRAW - Static variable in interface guicomponents.GConstants
 
dispose() - Method in class guicomponents.GComponent
Completely dispose of this component.
DOWN - Static variable in class guicomponents.GButton
 
DOWN - Static variable in class guicomponents.GImageButton
 
DRAGGED - Static variable in interface guicomponents.GConstants
 
draw() - Method in class guicomponents.FPanel
Draw the panel.
draw() - Method in class guicomponents.FScrollbar
 
draw() - Method in class guicomponents.FTextArea
 
draw() - Method in class guicomponents.FTextField
 
draw(PApplet) - Static method in class guicomponents.G4P
When you first use G4P(app) it switches off auto draw for the PApplet app.
draw() - Method in class guicomponents.GActivityBar
Draw the GActivityBar
draw() - Method in class guicomponents.GButton
Draw the button
draw() - Method in class guicomponents.GCheckbox
Draw the checkbox
draw() - Method in class guicomponents.GCombo
Draw the combo box
draw() - Method in class guicomponents.GComponent
Override in child classes
draw() - Method in class guicomponents.GHorzSlider
Draw the slider
draw() - Method in class guicomponents.GImageButton
Draw the button
draw() - Method in class guicomponents.GKnob
Draw the knob
draw() - Method in class guicomponents.GKnobOval
 
draw() - Method in class guicomponents.GLabel
Draw the label
draw() - Method in class guicomponents.GOption
draw the option
draw() - Method in class guicomponents.GPanel
Draw the panel.
draw() - Method in class guicomponents.GSlider
Override in child classes
draw() - Method in class guicomponents.GTextField
Draws the text field, contents, selection, and cursor to the screen.
draw() - Method in class guicomponents.GVertSlider
Draw the slider
draw() - Method in class guicomponents.GWinApplet
INTERNAL USE ONLY
Use addDrawHandler in GWindow to activate this method
draw() - Method in class guicomponents.GWSlider
 
drawORG() - Method in class guicomponents.GTextField
 
dumpComponent(GComponent) - Static method in class guicomponents.G4P
INTERNAL USE ONLY
Remove a component so that it is permanently unavailable.

E

ENTERED - Static variable in interface guicomponents.GConstants
 
eventType - Variable in class guicomponents.GComponent
 
EXCP_IN_HANDLER - Static variable in interface guicomponents.GConstants
 
EXIT_APP - Static variable in interface guicomponents.GConstants
 
expand() - Method in class guicomponents.GCombo
Open the drop down list
EXPANDED - Static variable in interface guicomponents.GConstants
 
EXPONENT - Static variable in class guicomponents.GSlider
 

F

FAMILY - Static variable in interface guicomponents.GConstants
 
FCScheme - Class in guicomponents
 
FCScheme() - Constructor for class guicomponents.FCScheme
 
fGlobalFont - Static variable in class guicomponents.GComponent
 
fireAllEvents(boolean) - Method in class guicomponents.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 guicomponents.GImageButton
If the parameter is true all 3 event types are generated, if false only CLICKED events are generated (default behaviour).
flashCaret() - Method in class guicomponents.FTextComponent
 
fontFamilies - Static variable in class guicomponents.G4P
An array of names representing all the available fonts.
FOREGROUND - Static variable in interface guicomponents.GConstants
 
FPanel - Class in guicomponents
A component that can be used to group GUI components that can be dragged, collapsed (leaves title tab only) and un-collapsed.
FPanel(PApplet, float, float, float, float, String) - Constructor for class guicomponents.FPanel
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.
FScrollbar - Class in guicomponents
 
FScrollbar(PApplet, float, float, float, float) - Constructor for class guicomponents.FScrollbar
 
FTextArea - Class in guicomponents
 
FTextArea(PApplet, float, float, float, float) - Constructor for class guicomponents.FTextArea
 
FTextArea(PApplet, float, float, float, float, int) - Constructor for class guicomponents.FTextArea
 
FTextComponent - Class in guicomponents
 
FTextComponent(PApplet, float, float, float, float, int) - Constructor for class guicomponents.FTextComponent
 
FTextField - Class in guicomponents
 
FTextField(PApplet, float, float, float, float) - Constructor for class guicomponents.FTextField
 
FTextField(PApplet, float, float, float, float, int) - Constructor for class guicomponents.FTextField
 

G

G4P - Class in guicomponents
This class has only static methods.
G4P() - Constructor for class guicomponents.G4P
 
g4pStyle - Static variable in class guicomponents.G4P
 
GActivityBar - Class in guicomponents
A simple animated bar that can be used to show that the program is working might be useful when loading large files etc.
GActivityBar(PApplet, int, int, int, int) - Constructor for class guicomponents.GActivityBar
Use this ctor to create the GActivityBar object.
GAlign - Interface in guicomponents
A list of text alignment options.
GButton - Class in guicomponents
This class is the Button component.
GButton(PApplet, String, int, int, int, int) - Constructor for class guicomponents.GButton
Create a button with text only.
GButton(PApplet, String, int, int, int, int, int) - Constructor for class guicomponents.GButton
Create a button with image only.
GButton(PApplet, String, String, int, int, int, int, int) - Constructor for class guicomponents.GButton
Create a button with both text and image.
GCheckbox - Class in guicomponents
The checkbox component
GCheckbox(PApplet, String, int, int, int) - Constructor for class guicomponents.GCheckbox
Create a check box.
GClip - Class in guicomponents
CLASS FOR INTERNAL USE ONLY This provides clipboard functionality for text and is currently only used by the GTextField class.
GCombo - Class in guicomponents
Combo Box (drop down list) component.
GCombo(PApplet, String[], int, int, int, int) - Constructor for class guicomponents.GCombo
Create the combo using the string array for the options the first option in the list is made the selected one.
GComponent - Class in guicomponents
CLASS FOR INTERNAL USE ONLY Abstract base class for all GUI components
GComponent(PApplet, int, int) - Constructor for class guicomponents.GComponent
INTERNAL USE ONLY This constructor MUST be called by all constructors of any child class e.g.
GComponent(PApplet, float, float, float, float) - Constructor for class guicomponents.GComponent
 
GComponent.Z_Order - Class in guicomponents
Comparator used for controlling the order components are drawn
GComponent.Z_Order() - Constructor for class guicomponents.GComponent.Z_Order
 
GConstants - Interface in guicomponents
 
GCScheme - Class in guicomponents
Stores all the colour information for the GUI components into a scheme.
GCScheme() - Constructor for class guicomponents.GCScheme
Create a default (blue) scheme
GCScheme(int) - Constructor for class guicomponents.GCScheme
Create a scheme for a given scheme number
GCScheme(GCScheme) - Constructor for class guicomponents.GCScheme
Copy ctor
GCursorImageChanger - Class in guicomponents
DO NOT CREATE OBJECTS FROM THIS CLASS use the appropriate cursor control methods in the G4P class
get(int) - Method in class guicomponents.GOptionGroup
INTERNAL USE ONLY
getActionOnClose() - Method in class guicomponents.GWindow
Get the action to be performed when the user attempts to close the window.
getAlpha() - Method in class guicomponents.GComponent
How transparent / opaque is this component
getAlpha() - Method in class guicomponents.GCScheme
Get the transparency level
getBezelWidth() - Method in class guicomponents.GKnob
 
getBorder() - Method in class guicomponents.GComponent
Get the border width
getColor(PApplet, int) - Static method in class guicomponents.FCScheme
Set the color scheme to one of the preset schemes BLUE / GREEN / RED / PURPLE / YELLOW / CYAN / GREY 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.
getColor(PApplet) - Static method in class guicomponents.GCScheme
Set the default color scheme
getColor(PApplet, int) - Static method in class guicomponents.GCScheme
Set the color scheme to one of the preset schemes BLUE / GREEN / RED / PURPLE / YELLOW / CYAN / GREY 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.
getControlMode() - Method in class guicomponents.GRoundControl
Get the current mouse controller mode possible values are
GKnob.CTRL_ANGULAR or GKnob.CTRL_HORIZONTAL) orGKnob.CTRL_VERTICAL
getCtrlMode() - Static method in class guicomponents.GComponent
Get the control creation mode @see ctrlMode(int mode)
getDefaultFont(PApplet) - Static method in class guicomponents.GFont
A quick way to get the default Sans Serif font (11pt)
getEventType() - Method in class guicomponents.GComponent
This can be used to detect the type of event
getFamily(String) - Static method in class guicomponents.G4P
See if this font family is available on this user's computer system and return the family name if found.
getFocusObject() - Static method in class guicomponents.GComponent
Get a the object (if any) that currently has focus
getFont(PApplet, String, int) - Static method in class guicomponents.GFont
Create a font
getGroup() - Method in class guicomponents.GOption
Get the option group that owns this option
getHeight() - Method in class guicomponents.GComponent
 
getInertia() - Method in class guicomponents.GRoundControl
 
getInitialDelay() - Method in class guicomponents.GTimer
Get the initial delay time (milliseconds).
getInterval() - Method in class guicomponents.GTimer
Get the interval time (milliseconds) between events.
getJavaColor(PApplet, int) - Static method in class guicomponents.FCScheme
Set the color scheme to one of the preset schemes BLUE / GREEN / RED / PURPLE / YELLOW / CYAN / GREY 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 guicomponents.StyledString
Get the text layouts for display if the string has changed since last call to this method regenerate them.
getMaxLineHeight() - Method in class guicomponents.StyledString
Get the height of the tallest line
getMaxLineLength() - Method in class guicomponents.StyledString
Return the length of the longest line.
getMaxValue() - Method in class guicomponents.GSlider
Get the maximum slider value
getMinValue() - Method in class guicomponents.GSlider
Get the minimum slider value
getNbrLines() - Method in class guicomponents.StyledString
Return the number of lines in the layout
getNbrOptions() - Method in class guicomponents.GCombo
Get the number of options
getOpaque() - Method in class guicomponents.GComponent
Find out if the component is opaque
getOptions() - Method in class guicomponents.GOptionGroup
 
getPApplet() - Method in class guicomponents.GComponent
Get the PApplet object
getParent() - Method in class guicomponents.GComponent
 
getPlainText() - Method in class guicomponents.StyledString
Get the plain text as a STring.
getSelectedText() - Method in class guicomponents.GTextField
Get the highlighted (selected text)
getSensitivity() - Method in class guicomponents.GRoundControl
This gets the sensitivity to be used in modes CTRL_HORIZONTAL and CTRL_VERTICAL
getShowLines() - Method in class guicomponents.GTextField
Are we showing separator lines
getStyledText() - Method in class guicomponents.GComponent
Get the StyledString used for display
getTabHeight() - Method in class guicomponents.FPanel
 
getTabHeight() - Method in class guicomponents.GPanel
 
getText() - Method in class guicomponents.GComponent
 
getTextAreaHeight() - Method in class guicomponents.StyledString
Return the height of the text line(s)
getTLIforLineNo(int) - Method in class guicomponents.StyledString
Get a layout based on line number
getTransform(AffineTransform) - Method in class guicomponents.GComponent
Get an affine transformation that is the compound of all transformations including parents
getValue() - Method in class guicomponents.FScrollbar
 
getValue() - Method in class guicomponents.GRoundControl
Get the current value represented by the control as an integer value.
getValue() - Method in class guicomponents.GSlider
Get the current value represented by the slider
getValuef() - Method in class guicomponents.GRoundControl
Get the current value represented by the control as a floating point value.
getValuef() - Method in class guicomponents.GSlider
Gets the current value of the slider.
getValueType() - Method in class guicomponents.GSlider
Get the type used for the slider value
getWidth() - Method in class guicomponents.GComponent
 
getWrapWidth() - Method in class guicomponents.StyledString
Get the break width used to create the lines.
getX() - Method in class guicomponents.GComponent
 
getY() - Method in class guicomponents.GComponent
 
GFont - Class in guicomponents
This class only has static methods and are used to create and return PFont objects for use by the GUI components.
GFont() - Constructor for class guicomponents.GFont
 
GHorzSlider - Class in guicomponents
The horizontal slider component.
GHorzSlider(PApplet, int, int, int, int) - Constructor for class guicomponents.GHorzSlider
Create a horizontal slider.
GImageButton - Class in guicomponents
Buttons create from this class use a number of images to represent it's state.
GImageButton(PApplet, String, String, int, int, int) - Constructor for class guicomponents.GImageButton
Create an image button based on a composite image for the button states.
GImageButton(PApplet, String, String[], int, int) - Constructor for class guicomponents.GImageButton
 
GKnob - Class in guicomponents
The provides an extremely configurable GUI knob controller.
GKnob(PApplet, int, int, int, int, int) - Constructor for class guicomponents.GKnob
Create a GKnob control

Will ensure that width and height are >= 20 pixels
The arcStart and arcEnd represent the limits of rotation expressed in degrees as shown above.
GKnobOval - Class in guicomponents
The provides an extremely configurable GUI knob controller.
GKnobOval(PApplet, int, int, int, int, int, int) - Constructor for class guicomponents.GKnobOval
Create a GKnobOval control

Will ensure that width and height are >= 20 pixels
The arcStart and arcEnd represent the limits of rotation expressed in degrees as shown above.
GLabel - Class in guicomponents
The label component.
GLabel(PApplet, String, int, int, int) - Constructor for class guicomponents.GLabel
 
GLabel(PApplet, String, int, int, int, int) - Constructor for class guicomponents.GLabel
 
globalColor - Static variable in class guicomponents.GComponent
 
globalColorScheme - Static variable in class guicomponents.GComponent
 
globalFont - Static variable in class guicomponents.GComponent
 
GMessenger - Class in guicomponents
CLASS FOR INTERNAL USE ONLY
GMessenger() - Constructor for class guicomponents.GMessenger
 
GOption - Class in guicomponents
The option button class.
GOption(PApplet, String, int, int, int) - Constructor for class guicomponents.GOption
Create an option button
GOptionGroup - Class in guicomponents
This is used to group options together to provide single-selection from 2 or more GOption buttons.
GOptionGroup() - Constructor for class guicomponents.GOptionGroup
Use this constructor to create an option group.
GOptionGroup(PApplet) - Constructor for class guicomponents.GOptionGroup
Deprecated. 
GPanel - Class in guicomponents
A component that can be used to group GUI components that can be dragged, collapsed (leaves title tab only) and un-collapsed.
GPanel(PApplet, String, int, int, int, int) - Constructor for class guicomponents.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 class guicomponents.FCScheme
 
GREEN_SCHEME - Static variable in class guicomponents.GCScheme
 
GREY_SCHEME - Static variable in class guicomponents.FCScheme
 
GREY_SCHEME - Static variable in class guicomponents.GCScheme
 
GRoundControl - Class in guicomponents
This is an abstract class that provides the core functionality including mouse event handling for 'round controls' such as knobs.
GRoundControl(PApplet, int, int, int, int, int, int) - Constructor for class guicomponents.GRoundControl
This constructor should be called by the appropriate child class constructor
GRoundControl(PApplet, int, int, int, int, int) - Constructor for class guicomponents.GRoundControl
This constructor should be called by the appropriate child class constructor
GSlider - Class in guicomponents
Abstract class to provide a slider - GHorzSlider and GVertSlider inherit from this class.
GSlider(PApplet, int, int, int, int) - Constructor for class guicomponents.GSlider
Called by GHorzSlider and GVertSlider.
GSlider(PApplet, int, int) - Constructor for class guicomponents.GSlider
 
GTextField - Class in guicomponents
The text field component.
GTextField(PApplet, String, int, int, int, int) - Constructor for class guicomponents.GTextField
Creates a single line GTextField object
GTextField(PApplet, String, int, int, int, int, boolean) - Constructor for class guicomponents.GTextField
Creates a single or multiple text line GTextField object
GTimer - Class in guicomponents
This class is used to trigger events at user defined intervals.
GTimer(PApplet, Object, String, int) - Constructor for class guicomponents.GTimer
Create the GTimer object with this ctor.
guicomponents - package guicomponents
 
GVertSlider - Class in guicomponents
The vertical slider component
GVertSlider(PApplet, int, int, int, int) - Constructor for class guicomponents.GVertSlider
Create a vertical slider.
GWinApplet - Class in guicomponents
CLASS FOR INTERNAL USE ONLY
This class extends PApplet and provides a drawing surface for the GWindow class.
GWinApplet(String) - Constructor for class guicomponents.GWinApplet
 
GWinData - Class in guicomponents
This class is used to hold the data associated with a GWindow object.
GWinData() - Constructor for class guicomponents.GWinData
 
GWindow - Class in guicomponents
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 guicomponents.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 guicomponents.GWindow
 
GWSlider - Class in guicomponents
GWSlider is a wrapper class that extends the functionality of the gui4processing(g4p) slider.
GWSlider(PApplet, int, int, int) - Constructor for class guicomponents.GWSlider
basic constructor that applies the default library skin to the slider.
GWSlider(PApplet, String, int, int, int) - Constructor for class guicomponents.GWSlider
Alternative constructor that applies a given skin to the slider.

H

H_ALIGN - Static variable in interface guicomponents.GAlign
 
hasFocus() - Method in class guicomponents.GComponent
Does this component have focus
hasKeyFocus() - Method in class guicomponents.GComponent
Does this component have key focus
hasSelection() - Method in class guicomponents.FTextComponent
 
hsbEventHandler(FScrollbar) - Method in class guicomponents.FTextComponent
 
HUD_UNSUPPORTED - Static variable in interface guicomponents.GConstants
 

I

insertCharacters(int, String) - Method in class guicomponents.StyledString
 
INTEGER - Static variable in class guicomponents.GSlider
 
INVALID_STATUS - Static variable in interface guicomponents.GConstants
 
isAutoDrawOn(PApplet) - Static method in class guicomponents.G4P
Is autodraw on for the PApplet app?
isCollapsed() - Method in class guicomponents.FPanel
Find out if the panel is collapsed
isCollapsed() - Method in class guicomponents.GPanel
Find out if the panel is collapsed
isDragging() - Method in class guicomponents.FPanel
This method is used to discover whether the panel is being dragged to a new position on the screen.
isDragging() - Method in class guicomponents.GPanel
This method is used to discover whether the panel is being dragged to a new position on the screen.
isEnabled() - Method in class guicomponents.GComponent
Is this component enabled
isExpanded() - Method in class guicomponents.GCombo
Is the drop down list visible
isMouseORA() - Method in class guicomponents.GRoundControl
Get the 'over rotation arc' option
isNotSelected() - Method in class guicomponents.GOption
Find out if this object is deselected
isOver(int, int) - Method in class guicomponents.FPanel
Determines whether the position ax, ay is over the tab of this GPanel.
isOver(int, int) - Method in class guicomponents.GCombo
Determines whether the position ax, ay is over the expand arrow or over the expanded combo box, depending on whether the box is expanded or not.
isOver(int, int) - Method in class guicomponents.GComponent
Determines whether the position ax, ay is over this component.
isOver(int, int) - Method in class guicomponents.GHorzSlider
Determines whether the position ax, ay is over the thumb of this Slider.
isOver(int, int) - Method in class guicomponents.GImageButton
Determines whether the position ax, ay is over this component.
isOver(int, int) - Method in class guicomponents.GKnob
Determines whether the position ax, ay is over any part of the round control.
isOver(int, int) - Method in class guicomponents.GKnobOval
Determines whether the position ax, ay is over any part of the round control.
isOver(int, int) - Method in class guicomponents.GPanel
Determines whether the position ax, ay is over the tab of this GPanel.
isOver(int, int) - Method in class guicomponents.GSlider
Override in child classes
isOver(int, int) - Method in class guicomponents.GVertSlider
Determines whether the position ax, ay is over the thumb of this GPanel.
isOver(int, int) - Method in class guicomponents.GWSlider
returns whether the positions supplied is over the mouse or not
isOverPanel(int, int) - Method in class guicomponents.FPanel
Determines whether the position ax, ay is over the panel, takimg into account whether the panel is collapsed or not.
isOverPanel(int, int) - Method in class guicomponents.GPanel
Determines whether the position ax, ay is over the panel, takimg into account whether the panel is collapsed or not.
isOverRotArc(int, int) - Method in class guicomponents.GKnob
Determines if the position is over the round control and within the rotation range.
isOverRotArc(int, int) - Method in class guicomponents.GKnobOval
Determines if the position is over the round control and within the rotation range.
isOverRotArc(int, int) - Method in class guicomponents.GRoundControl
Override this method in child classes
isOverThumb(int, int) - Method in class guicomponents.GWSlider
return whether input position is over the thumb, used to determine whether to show the handle_mouseover image
isRotArcOnly() - Method in class guicomponents.GKnob
 
isRunning() - Method in class guicomponents.GTimer
Is the timer running?
isSelected() - Method in class guicomponents.GCheckbox
 
isSelected() - Method in class guicomponents.GOption
Find out if this option is selected
isValid() - Method in class guicomponents.GTimer
See if the GTimer object has been created successfully
isValueChanging() - Method in class guicomponents.GRoundControl
Is the value changing as a result of the knob being rotated with the mouse.
isValueChanging() - Method in class guicomponents.GSlider
Is the value changing as a result of the slider thumb being dragged with the mouse.
isValueTrackVisible() - Method in class guicomponents.GKnob
See if the value track is visible
isVisible() - Method in class guicomponents.GComponent
 
isWindowActive(GWindow) - Static method in class guicomponents.G4P
Determines whether a window is still open or has been closed

J

JUSTIFICATION - Static variable in interface guicomponents.GConstants
 
JUSTIFICATION_FULL - Static variable in interface guicomponents.GConstants
 
JUSTIFICATION_NONE - Static variable in interface guicomponents.GConstants
 

K

KEEP_OPEN - Static variable in interface guicomponents.GConstants
 
keyEvent(KeyEvent) - Method in class guicomponents.FTextArea
 
keyEvent(KeyEvent) - Method in class guicomponents.FTextField
 
keyEvent(KeyEvent) - Method in class guicomponents.GTextField
receives KeyEvents forwarded to it by the GUIController if the current instance is currently in focus.
keyEvent(KeyEvent) - Method in class guicomponents.GWSlider
Registered key event of parent object, checks if arrow keys are being pressed and has focus if so the thumb is moved one pixel.
keyPressed(KeyEvent) - Method in class guicomponents.GComponent
Override in child classes
knobBorder - Variable in class guicomponents.GCScheme
 
knobFill - Variable in class guicomponents.GCScheme
 
knobNeedle - Variable in class guicomponents.GCScheme
 
knobTicks - Variable in class guicomponents.GCScheme
 
knobTrack - Variable in class guicomponents.GCScheme
 

L

lastTargetNeedleAngle - Variable in class guicomponents.GRoundControl
 
lblBack - Variable in class guicomponents.GCScheme
 
lblBorder - Variable in class guicomponents.GCScheme
 
lblFont - Variable in class guicomponents.GCScheme
 
LEFT - Static variable in interface guicomponents.GAlign
 
length() - Method in class guicomponents.StyledString
Get the number of characters in this styled string
load(PApplet, String) - Static method in class guicomponents.StyledString
 
localColor - Variable in class guicomponents.GComponent
 
localFont - Variable in class guicomponents.GComponent
 
loseFocus(GComponent) - Method in class guicomponents.GCombo
If we loose the focus to another GUI component that is not a child of this, then shrink the drop down list and release focus
lostOwnership(Clipboard, Transferable) - Method in class guicomponents.GClip
Reqd by ClipboardOwner interface

M

mainWinApp - Static variable in class guicomponents.G4P
 
makeOption(String) - Method in class guicomponents.GCombo
Make a new option for the text optText
message(Integer, Object, Object[]) - Static method in class guicomponents.GMessenger
 
messages - Static variable in class guicomponents.G4P
 
messagesEnabled(boolean) - Static method in class guicomponents.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.
MIDDLE - Static variable in interface guicomponents.GAlign
 
MISSING - Static variable in interface guicomponents.GConstants
 
mode - Variable in class guicomponents.GWinApplet
 
mouseEvent(MouseEvent) - Method in class guicomponents.FPanel
All GUI components are registered for mouseEvents
mouseEvent(MouseEvent) - Method in class guicomponents.FScrollbar
All GUI components are registered for mouseEvents
mouseEvent(MouseEvent) - Method in class guicomponents.FTextArea
 
mouseEvent(MouseEvent) - Method in class guicomponents.FTextField
 
mouseEvent(MouseEvent) - Method in class guicomponents.GButton
All GUI components are registered for mouseEvents.
mouseEvent(MouseEvent) - Method in class guicomponents.GCheckbox
All GUI components are registered for mouseEvents
mouseEvent(MouseEvent) - Method in class guicomponents.GCombo
All GUI components are registered for mouseEvents
mouseEvent(MouseEvent) - Method in class guicomponents.GComponent
Override in child classes.
mouseEvent(MouseEvent) - Method in class guicomponents.GHorzSlider
All GUI components are registered for mouseEvents
mouseEvent(MouseEvent) - Method in class guicomponents.GImageButton
All GUI components are registered for mouseEvents.
mouseEvent(MouseEvent) - Method in class guicomponents.GOption
All GUI components are registered for mouseEvents
mouseEvent(MouseEvent) - Method in class guicomponents.GPanel
All GUI components are registered for mouseEvents
mouseEvent(MouseEvent) - Method in class guicomponents.GRoundControl
Basic mouse event handler for all round components.
mouseEvent(MouseEvent) - Method in class guicomponents.GSlider
Override in child classes
mouseEvent(MouseEvent) - Method in class guicomponents.GTextField
Mouse event handler - the focus cannot be lost by anything we do here - it has to be taken away when the mouse is pressed somewhere else.
mouseEvent(MouseEvent) - Method in class guicomponents.GVertSlider
All GUI components are registered for mouseEvents
mouseEvent(MouseEvent) - Method in class guicomponents.GWinApplet
INTERNAL USE ONLY
Use addDMouseHandler in GWindow to activate this method
mouseEvent(MouseEvent) - Method in class guicomponents.GWSlider
handles all the mouse events that may effect the slider.
mouseHandlerMethod - Variable in class guicomponents.GWindow
The method in mouseHandlerObject to execute
mouseHandlerObject - Variable in class guicomponents.GWindow
The object to handle the mouse event
mouseOff - Static variable in class guicomponents.G4P
 
mouseOver - Static variable in class guicomponents.G4P
 
moveToFrontForDraw(GComponent) - Static method in class guicomponents.G4P
INTERNAL USE ONLY
Used to bring a panel to the front of the display.
moveToFrontForMouse(GComponent) - Static method in class guicomponents.G4P
INTERNAL USE ONLY
Used to ensure the panel is the last component to be tested for mouse events.

N

needleAngle - Variable in class guicomponents.GRoundControl
 
NONEXISTANT - Static variable in interface guicomponents.GConstants
 
NOT_PEASYCAM - Static variable in interface guicomponents.GConstants
 

O

OFF - Static variable in class guicomponents.GButton
 
OFF - Static variable in class guicomponents.GImageButton
 
optBack - Variable in class guicomponents.GCScheme
 
optBorder - Variable in class guicomponents.GCScheme
 
optFont - Variable in class guicomponents.GCScheme
 
ORANGE_SCHEME - Static variable in class guicomponents.FCScheme
 
OVER - Static variable in class guicomponents.GButton
 
OVER - Static variable in class guicomponents.GImageButton
 
overControl - Static variable in class guicomponents.G4P
 
owner - Variable in class guicomponents.GWinApplet
 
owner - Variable in class guicomponents.GWinData
 

P

papplet - Variable in class guicomponents.GWindow
Gives direct access to the PApplet object inside the frame
paste() - Static method in class guicomponents.GClip
Get a string from the clipboard
pnlBack - Variable in class guicomponents.GCScheme
 
pnlBorder - Variable in class guicomponents.GCScheme
 
pnlFont - Variable in class guicomponents.GCScheme
 
pnlTabBack - Variable in class guicomponents.GCScheme
 
post() - Method in class guicomponents.GCursorImageChanger
 
post() - Method in class guicomponents.GWinApplet
INTERNAL USE ONLY
Already active to provide cursor over component image changes Use addDPostHandler in GWindow to activate this method for your use
POSTURE - Static variable in interface guicomponents.GConstants
 
POSTURE_OBLIQUE - Static variable in interface guicomponents.GConstants
 
POSTURE_REGULAR - Static variable in interface guicomponents.GConstants
 
pre() - Method in class guicomponents.GComponent
Override in child classes
pre() - Method in class guicomponents.GRoundControl
Used to implement inertia
pre() - Method in class guicomponents.GSlider
Move thumb if not at desired position
pre() - Method in class guicomponents.GWinApplet
INTERNAL USE ONLY
Use addPreHandler in GWindow to activate this method
PRESSED - Static variable in interface guicomponents.GConstants
 
processOptionSelection(GOption, GOption) - Method in class guicomponents.GCombo
This method is called when an option is selected from the drop down list.
processSliderMotion(GVertSlider) - Method in class guicomponents.GCombo
INTERNAL USE ONLY
This will handle the vertical slider events by changing the starting value of thefirst option to be shown.
PURPLE_SCHEME - Static variable in class guicomponents.FCScheme
 
PURPLE_SCHEME - Static variable in class guicomponents.GCScheme
 

R

RED_SCHEME - Static variable in class guicomponents.FCScheme
 
RED_SCHEME - Static variable in class guicomponents.GCScheme
 
refresh() - Static method in class guicomponents.G4P
 
RELEASED - Static variable in interface guicomponents.GConstants
 
remove(GComponent) - Method in class guicomponents.GComponent
Remove a GUI component from this component
removeAllOptions() - Method in class guicomponents.GCombo
Removes all the current options from the combo box
removeOption(int) - Method in class guicomponents.GCombo
Remove an option based on its index value in the list
removeOption(String) - Method in class guicomponents.GCombo
Remove a value based on its text value
removeOption(GOption) - Method in class guicomponents.GOptionGroup
Remove an existing option
removeOption(int) - Method in class guicomponents.GOptionGroup
Remove an option at the given position
removeOption(String) - Method in class guicomponents.GOptionGroup
Remove an option based on the option's text (this ignores case)
removeWindow(GWindow) - Static method in class guicomponents.G4P
INTERNAL USE ONLY
Remove control window - called when a ControlWindow is closed for good.
RIGHT - Static variable in interface guicomponents.GAlign
 
RUNTIME_ERROR - Static variable in interface guicomponents.GConstants
 

S

save(PApplet, StyledString, String) - Static method in class guicomponents.StyledString
Save the named StyleString in the named file.
SCHEME_10 - Static variable in class guicomponents.FCScheme
 
SCHEME_11 - Static variable in class guicomponents.FCScheme
 
SCHEME_12 - Static variable in class guicomponents.FCScheme
 
SCHEME_13 - Static variable in class guicomponents.FCScheme
 
SCHEME_14 - Static variable in class guicomponents.FCScheme
 
SCHEME_15 - Static variable in class guicomponents.FCScheme
 
SCHEME_8 - Static variable in class guicomponents.FCScheme
 
SCHEME_9 - Static variable in class guicomponents.FCScheme
 
schemeNo - Variable in class guicomponents.GCScheme
 
scroll(int) - Method in class guicomponents.GTextField
SCroll the text within the field
SCROLL_DOWN - Static variable in interface guicomponents.GConstants
 
SCROLL_LEFT - Static variable in interface guicomponents.GConstants
 
SCROLL_RIGHT - Static variable in interface guicomponents.GConstants
 
SCROLL_UP - Static variable in interface guicomponents.GConstants
 
SCROLLBAR_HORIZONTAL - Static variable in interface guicomponents.GConstants
Create and display horizontal scrollbar only.
SCROLLBAR_VERTICAL - Static variable in interface guicomponents.GConstants
Create and display vertical scrollbar only.
SCROLLBARS_AUTOHIDE - Static variable in interface guicomponents.GConstants
 
SCROLLBARS_BOTH - Static variable in interface guicomponents.GConstants
Create and display both vertical and horizontal scrollbars.
SCROLLBARS_HORIZONTAL_ONLY - Static variable in interface guicomponents.GConstants
Create and display horizontal scrollbar only.
SCROLLBARS_NONE - Static variable in interface guicomponents.GConstants
Do not create or display any scrollbars for the text area.
SCROLLBARS_VERTICAL_ONLY - Static variable in interface guicomponents.GConstants
Create and display vertical scrollbar only.
sdrBorder - Variable in class guicomponents.GCScheme
 
sdrThumb - Variable in class guicomponents.GCScheme
 
sdrTrack - Variable in class guicomponents.GCScheme
 
SELECTED - Static variable in interface guicomponents.GConstants
 
selectedIndex() - Method in class guicomponents.GCombo
 
selectedIndex() - Method in class guicomponents.GOptionGroup
INTERNAL USE ONLY
selectedOption() - Method in class guicomponents.GOptionGroup
INTERNAL USE ONLY Return the option that has just been selected
selectedText() - Method in class guicomponents.GCombo
 
selectedText() - Method in class guicomponents.GOptionGroup
INTERNAL USE ONLY
SET - Static variable in interface guicomponents.GConstants
 
setActionOnClose(int) - Method in class guicomponents.GWindow
This sets what happens when the users attempts to close the window.
setAlpha(int) - Method in class guicomponents.FPanel
Controls the transparency of this panel and all the components on it.
setAlpha(int) - Method in class guicomponents.GComponent
Controls the transparency of this component 0 = fully transparent 255 = fully opaque
setAlpha(int, int) - Static method in class guicomponents.GCScheme
 
setAlpha(int) - Method in class guicomponents.GCScheme
Changes the alpha level for all elements of the scheme.
setAlpha(int) - Method in class guicomponents.GPanel
Controls the transparency of this panel and all the components on it.
setAutoClear(boolean) - Method in class guicomponents.GWindow
By default the background() method is called to set the background image/colour every frame.
setAutoHide(boolean) - Method in class guicomponents.FScrollbar
 
setBackground(int) - Method in class guicomponents.GWinApplet
INTERNAL USE ONLY
Use the equivalent method in GWindow
setBackground(PImage) - Method in class guicomponents.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 guicomponents.GWindow
Set the background color for the window.
setBezelWidth(int) - Method in class guicomponents.GKnob
Set the width of the bezel.
setBorder(int) - Method in class guicomponents.GComponent
The user can add a border by specifying it's thickness a value of 0 means no border (this is the default)
setCollapsed(boolean) - Method in class guicomponents.FPanel
Collapse or open the panel
setCollapsed(boolean) - Method in class guicomponents.GPanel
Collapse or open the panel
setColorScheme(PApplet, int) - Static method in class guicomponents.G4P
Set the color scheme to be used by G4P
Only reqd if different from the default blue scheme to be global specify before creating GUI components Available schemes: BLUE_SCHEME, GREEN_SCHEME, RED_SCHEME, PURPLE_SCHEME YELLOW_SCHEME, CYAN_SCHEME, GREY_SCHEME
setColorScheme(int) - Method in class guicomponents.GActivityBar
Sets the local color scheme
setColorScheme(int) - Method in class guicomponents.GButton
Set the color scheme for this button
setColorScheme(int) - Method in class guicomponents.GCombo
Sets the local color scheme
setColorScheme(int) - Method in class guicomponents.GComponent
Sets the local color scheme
setColours(int, int, int) - Method in class guicomponents.GButton
Set the colors to be used by the GButton without having to create a new color scheme (GCScheme).
setControlMode(int) - Method in class guicomponents.GRoundControl
Set the mouse control mode to use, acceptable values are
GKnob.CTRL_ANGULAR or GKnob.CTRL_HORIZONTAL) orGKnob.CTRL_VERTICAL
setControlsEnabled(boolean) - Method in class guicomponents.FPanel
 
setControlsEnabled(boolean) - Method in class guicomponents.GPanel
 
setDelay(int) - Method in class guicomponents.GTimer
Sets the initial delay and the interval between events.
setDrawOrder(GWindow) - Static method in class guicomponents.G4P
This will sort the GUI controls in a secondary window.
setDrawOrder(PApplet) - Static method in class guicomponents.G4P
If you are using GPanel or GCombo it would be useful to call this method in setup or customGUI (if using GUI builder tool).
setEnabled(boolean) - Method in class guicomponents.GComponent
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 guicomponents.GOptionGroup
Enable or disable all the options in this group
setFocus(boolean) - Method in class guicomponents.GComponent
Determines whether this component is to have focus or not
setFont(String, int) - Method in class guicomponents.FPanel
Set the font & size for the tab text changing the height (+/-) of the tab if necessary to display text.
setFont(PApplet, String, int) - Static method in class guicomponents.G4P
Deprecated. 
setFont(String, int) - Static method in class guicomponents.G4P
Set the global font to be used by all controls.
setFont(String, int, int) - Static method in class guicomponents.G4P
Set the global font to be used by all controls.
setFont(Font) - Static method in class guicomponents.G4P
Set the global font to be used by all controls.
setFont(String, int) - Method in class guicomponents.GButton
Set the font & size for the button increasing height and width of the button if necessary to display text.
setFont(String, int, boolean) - Method in class guicomponents.GButton
Set the font and size for the button.
setFont(String, int) - Method in class guicomponents.GCheckbox
Set the font & size for the checkbox changing the height (+/-) and width(+) of the checkbox if necessary to display text.
setFont(String, int) - Method in class guicomponents.GCombo
Set the font & size for the combo changing height and width of the button if necessary to display text.
setFont(String, int) - Method in class guicomponents.GComponent
Override in child classes
setFont(String, int) - Method in class guicomponents.GLabel
Set the font & size for the label changing the height (+/-) and width(+/-) of the label if necessary to display text.
setFont(String, int) - Method in class guicomponents.GOption
Set the font & size for the option button changing the height (+/-) and width(+/-) of the button if necessary to display text.
setFont(String, int) - Method in class guicomponents.GPanel
Set the font & size for the tab text changing the height (+/-) of the tab if necessary to display text.
setFont(String, int, int) - Method in class guicomponents.GTextField
Set the font, size and leading for the textfield.
setFont(String, int) - Method in class guicomponents.GTextField
Set the font type and size for the textfield.
setFont(String, int) - Method in class guicomponents.GWSlider
Sets font of labels
setFont(Font) - Method in class guicomponents.StyledString
 
setFontColour(int, int, int) - Method in class guicomponents.GWSlider
Set the colour of the font
setFontColour(int) - Method in class guicomponents.GWSlider
Set the colour of the font
setFontNew(Font) - Method in class guicomponents.FTextComponent
 
setFontNew(Font) - Method in class guicomponents.GComponent
Set the global font to be used by all controls.
setFontNew(PFont) - Method in class guicomponents.GComponent
Set the global font to be used by all controls.
setFText(String) - Method in class guicomponents.FPanel
 
setGroup(GOptionGroup) - Method in class guicomponents.GOption
Set the option group - at the present this method does not allow the option to be moved from one group to another.
setHeight(int) - Method in class guicomponents.GComponent
 
setImageAlign(int) - Method in class guicomponents.GButton
Sets the position of the image in relation to the button text provided the text horizontal alignment is GAlign.LEFT or GAlign.RIGHT
setImages(String, String, String) - Method in class guicomponents.GButton
Specify the 3 images files to be used to display the button's state.
setImages(String[]) - Method in class guicomponents.GButton
Specify the 3 images files to be used to display the button's state.
setImages(String, int) - Method in class guicomponents.GButton
Specify the image file that contains the image{s} to be used for the button's state.
setImages(PImage, PImage, PImage) - Method in class guicomponents.GButton
Specify the 3 images to be used to display the button's state.
setImages(PImage[]) - Method in class guicomponents.GButton
Specify the 3 images to be used to display the button's state.
setImages(PImage, int) - Method in class guicomponents.GButton
Specify the PImage that contains the image{s} to be used for the button's state.
setInertia(int) - Method in class guicomponents.GRoundControl
 
setInertia(int) - Method in class guicomponents.GSlider
When dragging the slider thumb rapidly with the mouse a certain amount of inertia will give a nice visual effect by trailing the thumb behind the mouse.
setInitialDelay(int) - Method in class guicomponents.GTimer
Set the delay before the first event is triggered
setInterval(int) - Method in class guicomponents.GTimer
Set the interval between events
setJustify(boolean) - Method in class guicomponents.FTextComponent
 
setJustify(boolean) - Method in class guicomponents.StyledString
Text can be either left or fully justified.
setJustifyRatio(float) - Method in class guicomponents.StyledString
Justify only if the line has sufficient text to do so.
setLimits(float, float, float) - Method in class guicomponents.GRoundControl
Set the range of values that are to be returned by this control.
setLimits(int, int, int) - Method in class guicomponents.GSlider
The user can change the range and initial value of the slider from the default values of range 0-100 and initial value of 50.
setLimits(float, float, float) - Method in class guicomponents.GSlider
Sets the limits of the slider as float values.
setLocalColorScheme(int) - Method in class guicomponents.FTextComponent
 
setLocalColorScheme(int) - Method in class guicomponents.GComponent
 
setLocation(int, int) - Method in class guicomponents.GWindow
Sets the location of the window.
setMouseORA(boolean) - Method in class guicomponents.GKnob
If this is set to false (the default value) then the mouse button can be pressed over any part of the knob and bezel to start rotating the knob.
setMouseORA(boolean) - Method in class guicomponents.GRoundControl
If this is set to false (the default value) then the mouse button can be pressed over any part of the knob and bzeel to start rotating the knob.
setMouseOverEnabled(boolean) - Static method in class guicomponents.G4P
Enables or disables cursor over component change.
setNbrTickMarks(int) - Method in class guicomponents.GKnob
Set the number of tick markers
setNbrTickSpaces(int) - Method in class guicomponents.GKnob
Set the number of tick spaces for the bezel.
setOnTop(boolean) - Method in class guicomponents.GWindow
Always make this window appear on top of other windows (or not).
setOpaque(boolean) - Method in class guicomponents.GComponent
Determines wheher to show tha back color or not.
setOptions(String[], int) - Method in class guicomponents.GCombo
This will replace all options with the new options specified.
setPrecision(int) - Method in class guicomponents.GWSlider
Sets the number of decimal places to print in the value labels
setRenderMaxMinLabel(boolean) - Method in class guicomponents.GWSlider
set to false to not render the min/max labels for a more minamalistic look.
setRenderValueLabel(boolean) - Method in class guicomponents.GWSlider
set to false to not render the value label for a more minamalistic look.
setResizable(boolean) - Method in class guicomponents.GWindow
Determines whether the window is resizabale or not.
setRotArcOnly(boolean) - Method in class guicomponents.GKnob
 
setRotation(float) - Method in class guicomponents.GComponent
 
setSelected(boolean) - Method in class guicomponents.GCheckbox
 
setSelected(int) - Method in class guicomponents.GCombo
Set the selected option by its index value.
setSelected(String) - Method in class guicomponents.GCombo
Set the selected option by its text value
setSelected(boolean) - Method in class guicomponents.GOption
User can make this option selected - this does not cause events being fired
setSelected(GOption) - Method in class guicomponents.GOptionGroup
Make this option the selected one
setSelected(int) - Method in class guicomponents.GOptionGroup
If index is in range make this one selected
setSelected(String) - Method in class guicomponents.GOptionGroup
Set option selected based on the option text (this case insensitive)
setSensitivity(float) - Method in class guicomponents.GRoundControl
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.
setShowLines(boolean) - Method in class guicomponents.GTextField
Whether or not to display separator lines
setStickToTicks(boolean) - Method in class guicomponents.GWSlider
Setting to true limits the thumb to only take values that each tick represents and no value in between them
setText(String) - Method in class guicomponents.GButton
Set the text to appear on the button.
setText(String) - Method in class guicomponents.GComponent
 
setText(String, int) - Method in class guicomponents.GComponent
 
setText(String) - Method in class guicomponents.GTextField
Sets the contents of the text box and displays the specified string in the text box widget.
setTextAlign(int) - Method in class guicomponents.GComponent
Set the text alignment inside the box.
setTextAlign(int) - Method in class guicomponents.GTextField
This class does not support text alignment and uses the default left alignment.
setTextNew(String) - Method in class guicomponents.FTextArea
Set the text to be used.
setTextNew(String, int) - Method in class guicomponents.FTextArea
Set the text to display and adjust any scrollbars
setTextNew(String) - Method in class guicomponents.FTextField
 
setTextNew(String) - Method in class guicomponents.GComponent
Set the text to be displayed.
setTextNew(String, int) - Method in class guicomponents.GComponent
 
setTickColour(int, int, int) - Method in class guicomponents.GWSlider
Set the colour of the ticks
setTickColour(int) - Method in class guicomponents.GWSlider
Set the colour of the ticks
setTickCount(int) - Method in class guicomponents.GWSlider
Sets the number of ticks shown on the slider.
setTickLabels(String[]) - Method in class guicomponents.GWSlider
Accepts an array of strings that then determines the number of ticks shown and the label underneath each of them.
setTickLength(int) - Method in class guicomponents.GWSlider
Adjusts the length of the ticks
setup() - Method in class guicomponents.GWinApplet
INTERNAL USE ONLY
The PApplet setup method to intialise the drawing surface
setValue(float) - Method in class guicomponents.FScrollbar
 
setValue(float, float) - Method in class guicomponents.FScrollbar
 
setValue(float) - Method in class guicomponents.GRoundControl
Set the current value of the control
setValue(float, boolean) - Method in class guicomponents.GRoundControl
The same as setValue(newValue) except the second parameter determines whether we should ignore any inertia value so the affect is immediate.
setValue(int) - Method in class guicomponents.GSlider
Sets the target value of the slider, if setInertia(x) has been used to implement inertia then the actual slider value will gradually change until it reaches the target value.
setValue(int, boolean) - Method in class guicomponents.GSlider
The same as setValue(newValue) except the second parameter determines whether we should ignore any inertia value so the affect is immediate.
setValue(float) - Method in class guicomponents.GSlider
Sets the target value of the slider, if setInertia(x) has been to implement inertia then the actual slider value will gradually change until it reaches the target value.
setValue(float, boolean) - Method in class guicomponents.GSlider
The same as setValue(newValue) except the second parameter determines whether we should ignore any inertia value so the affect is immediate.
setValue(int) - Method in class guicomponents.GWSlider
Sets the target value of the slider, if setInertia(x) has been used to implement inertia then the actual slider value will gradually change until it reaches the target value.
setValue(float) - Method in class guicomponents.GWSlider
Sets the target value of the slider, if setInertia(x) has been to implement inertia then the actual slider value will gradually change until it reaches the target value.
setValueToTickNumber(int) - Method in class guicomponents.GWSlider
Sets the target value of the slider according to the tick number.
setValueTrackVisible(boolean) - Method in class guicomponents.GKnob
Determines whether the value track is shown or not
setValueType(int) - Method in class guicomponents.GSlider
Sets the type of slider that this should be.
setVisible(boolean) - Method in class guicomponents.FPanel
If the panel is made invisible then disable the controls
setVisible(boolean) - Method in class guicomponents.GComponent
 
setVisible(boolean) - Method in class guicomponents.GPanel
If the panel is made invisible then disable the controls
setVisible(boolean) - Method in class guicomponents.GWindow
Sets the visibility of the window
(Already available from the Frame class - helps visibility of method in G4P reference)
setWidth(float) - Method in class guicomponents.GComponent
 
setX(int) - Method in class guicomponents.GComponent
Sets the x position of a component
setXY(int, int) - Method in class guicomponents.GComponent
Sets the position of a component
setY(int) - Method in class guicomponents.GComponent
Sets the x position of a component
shrink() - Method in class guicomponents.GCombo
Close the drop down list
SIZE - Static variable in interface guicomponents.GConstants
 
size() - Method in class guicomponents.GOptionGroup
Get the number of options in this GOptionGroup
start(float) - Method in class guicomponents.GActivityBar
Start the GActivityBar animation and let it run for a maximum duration of @aseconds
start() - Method in class guicomponents.GTimer
Start the timer (call the method forever)
start(int) - Method in class guicomponents.GTimer
Start the timer and call the method for the number of times indicated by nrepeats If nrepeats is <=0 then repeat forever
stop() - Method in class guicomponents.GActivityBar
Stop the animation and make the GActivityBar invisible
stop() - Method in class guicomponents.GTimer
Stop the timer (can be restarted with start() method)
STRIKETHROUGH - Static variable in interface guicomponents.GConstants
 
STRIKETHROUGH_OFF - Static variable in interface guicomponents.GConstants
 
STRIKETHROUGH_ON - Static variable in interface guicomponents.GConstants
 
StyledString - Class in guicomponents
This class is used to represent text with attributes.
StyledString(String) - Constructor for class guicomponents.StyledString
This is assumed to be a single line of text (i.e.
StyledString(Graphics2D, String) - Constructor for class guicomponents.StyledString
This is assumed to be a single line of text (i.e.
StyledString(String, int) - Constructor for class guicomponents.StyledString
Supports multiple lines of text wrapped on word boundaries.
StyledString(Graphics2D, String, int) - Constructor for class guicomponents.StyledString
Supports multiple lines of text wrapped on word boundaries.
SUPERSCRIPT - Static variable in interface guicomponents.GConstants
 
SUPERSCRIPT_SUB - Static variable in interface guicomponents.GConstants
 
SUPERSCRIPT_SUPER - Static variable in interface guicomponents.GConstants
 

T

tag - Variable in class guicomponents.GComponent
Simple tag that can be used by the user
tagNo - Variable in class guicomponents.GComponent
Allows user to specify a number for this component
targetNeedleAngle - Variable in class guicomponents.GRoundControl
 
TOP - Static variable in interface guicomponents.GAlign
 
toString() - Method in class guicomponents.GCombo
 
toString() - Method in class guicomponents.GComponent
 
txfBack - Variable in class guicomponents.GCScheme
 
txfBorder - Variable in class guicomponents.GCScheme
 
txfCursor - Variable in class guicomponents.GCScheme
 
txfFont - Variable in class guicomponents.GCScheme
 
txfSelBack - Variable in class guicomponents.GCScheme
 

U

unit - Variable in class guicomponents.GWSlider
 
update() - Method in class guicomponents.GActivityBar
Update the position of the thumbs
USER_COL_SCHEME - Static variable in interface guicomponents.GConstants
 

V

V_ALIGN - Static variable in interface guicomponents.GAlign
 
viewText() - Method in class guicomponents.GTextField
Returns the string of text that the text box can display
vsbEventHandler(FScrollbar) - Method in class guicomponents.FTextComponent
 

W

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

Y

YELLOW_SCHEME - Static variable in class guicomponents.FCScheme
 
YELLOW_SCHEME - Static variable in class guicomponents.GCScheme
 

Z

z - Variable in class guicomponents.GComponent
Used to when components overlap
A B C D E F G H I J K L M N O P R S T U V W Y Z 

Processing library guicomponents by Peter Lager. (C) 2012