- 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.
- 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
- 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
-