- G4P - Class in g4p_controls
-
The core class for the global manipulation and execution of G4P.
- G4P() - Constructor for class g4p_controls.G4P
-
- g4p_controls - package g4p_controls
-
- GAbstractControl - Class in g4p_controls
-
Abstract base class for all GUI controls.
- GAbstractControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GAbstractControl
-
- GAbstractControl.Z_Order - Class in g4p_controls
-
Comparator used for controlling the order components are drawn
- GAbstractControl.Z_Order() - Constructor for class g4p_controls.GAbstractControl.Z_Order
-
- GAlign - Enum in g4p_controls
-
This class provides an enumeration that is used to control the alignment
of text and images.
- GButton - Class in g4p_controls
-
This class is the Button component.
- GButton(PApplet, float, float, float, float) - Constructor for class g4p_controls.GButton
-
- GButton(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GButton
-
- GCheckbox - Class in g4p_controls
-
A two-state toggle control.
- GCheckbox(PApplet, float, float, float, float) - Constructor for class g4p_controls.GCheckbox
-
Create an option button without text.
- GCheckbox(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GCheckbox
-
Create an option button with text.
- GClip - Class in g4p_controls
-
Clipboard functionaliy for plain text
This provides clipboard functionality for text and is currently only used by the
GTextField and GTextArea classes.
- GColorChooser - Class in g4p_controls
-
UNDER CONSTRUCTION - DO NOT ATTEMPT TO USE
- GColorChooser() - Constructor for class g4p_controls.GColorChooser
-
- GConstants - Interface in g4p_controls
-
These constants can all be available to the Processor.
- GConstantsInternal - Interface in g4p_controls
-
Constants that are used internally by the library.
- GCScheme - Class in g4p_controls
-
Defines a number of color schemes for the GUI components.
- GCScheme() - Constructor for class g4p_controls.GCScheme
-
- GCustomSlider - Class in g4p_controls
-
Slider that can be customised with user provided graphics.
- GCustomSlider(PApplet, float, float, float, float) - Constructor for class g4p_controls.GCustomSlider
-
Create a custom slider using the default skin.
- GCustomSlider(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GCustomSlider
-
Create a custom slider using the skin specified.
- GDropList - Class in g4p_controls
-
A drop down list component.
- GDropList(PApplet, float, float, float, float) - Constructor for class g4p_controls.GDropList
-
Create a drop down list component with a list size of 4.
- GDropList(PApplet, float, float, float, float, int) - Constructor for class g4p_controls.GDropList
-
Create a drop down list component with a specified list size.
- GEditableTextControl - Class in g4p_controls
-
This class is the basis for the GTextField and GTextArea classes.
- GEditableTextControl(PApplet, float, float, float, float, int) - Constructor for class g4p_controls.GEditableTextControl
-
- getActionOnClose() - Method in class g4p_controls.GWindow
-
Get the action to be performed when the user attempts to close
the window.
- getColor() - Static method in class g4p_controls.GColorChooser
-
- getColor(int) - Static method in class g4p_controls.GCScheme
-
Set the color scheme to one of the preset schemes
BLUE / GREEN / RED / PURPLE / YELLOW / CYAN / BROWN
or if you have created your own schemes following the instructions
at gui4processing.lagers.org.uk/colorscheme.html then you can enter
the appropriate numeric value of the scheme.
- getCtrlMode() - Static method in class g4p_controls.G4P
-
Get the control creation mode @see ctrlMode(int mode)
- getCursorOff() - Static method in class g4p_controls.G4P
-
Inform G4P which cursor to use for mouse over.
- getCursorOver() - Method in class g4p_controls.GAbstractControl
-
Get the shape type when the cursor is over a control
- getCX() - Method in class g4p_controls.GAbstractControl
-
Get the centre x position of the control
- getCY() - Method in class g4p_controls.GAbstractControl
-
Get the centre y position of the control
- getDefaultText() - Method in class g4p_controls.GEditableTextControl
-
Get the default text for this control
- getDesc() - Method in enum g4p_controls.GAlign
-
Get the description of this alignment
- getEasing() - Method in class g4p_controls.GValueControl
-
Get the current value used for easing.
- getEndLimit() - Method in class g4p_controls.GValueControl
-
- getFocusName() - Static method in class g4p_controls.GAbstractControl
-
- getFromID(int) - Static method in enum g4p_controls.GAlign
-
Get an alignment based on its ID number.
- getFromText(String) - Static method in enum g4p_controls.GAlign
-
Get an alignment based on its alignment text.
- getHeight() - Method in class g4p_controls.GAbstractControl
-
- getID() - Method in enum g4p_controls.GAlign
-
Get the id number associated with this alignment
- getInitialDelay() - Method in class g4p_controls.GTimer
-
Get the initial delay time (milliseconds).
- getInterval() - Method in class g4p_controls.GTimer
-
Get the interval time (milliseconds) between
events.
- getJavaColor(int) - Static method in class g4p_controls.GCScheme
-
Set the color scheme to one of the preset schemes
BLUE / GREEN / RED / PURPLE / YELLOW / CYAN / BROWN
or if you have created your own schemes following the instructions
at gui4processing.lagers.org.uk/colorscheme.html then you can enter
the appropriate numeric value of the scheme.
- getLines(Graphics2D) - Method in class g4p_controls.StyledString
-
Get the text layouts for display if the string has changed since last call
to this method regenerate them.
- getLocalColorScheme() - Method in class g4p_controls.GAbstractControl
-
Get the local color scheme ID number.
- getMaxLineHeight() - Method in class g4p_controls.StyledString
-
Get the height of the tallest line
- getMaxLineLength() - Method in class g4p_controls.StyledString
-
Return the length of the longest line.
- getNbrLines() - Method in class g4p_controls.StyledString
-
Return the number of lines in the layout
- getNbrTicks() - Method in class g4p_controls.GValueControl
-
Get the number of tick marks.
- getPApplet() - Method in class g4p_controls.GAbstractControl
-
Get the PApplet that manages this component
- getParent() - Method in class g4p_controls.GAbstractControl
-
Get the parent control.
- getPlainText() - Method in class g4p_controls.StyledString
-
Get the plain text as a String.
- getPrecision() - Method in class g4p_controls.GValueControl
-
Precision used with floating point numbers
- getPrettyVersion() - Static method in class g4p_controls.G4P
-
return the pretty version of the library.
- getSelectedIndex() - Method in class g4p_controls.GDropList
-
Get the index position of the selected item in the array
- getSelectedText() - Method in class g4p_controls.GDropList
-
Get the text for the selected item
- getSelectedText() - Method in class g4p_controls.GEditableTextControl
-
Get the text that has been selected (highlighted) by the user.
- getSensitivity() - Method in class g4p_controls.GKnob
-
This gets the sensitivity to be used in modes CTRL_HORIZONTAL and CTRL_VERTICAL
- getSnapshot() - Method in class g4p_controls.GAbstractControl
-
This method should be used sparingly since it is heavy on resources.
- getSnapshot() - Method in class g4p_controls.GTextArea
-
- getSnapshot() - Method in class g4p_controls.GTextField
-
- getStartLimit() - Method in class g4p_controls.GValueControl
-
- getTabHeight() - Method in class g4p_controls.GPanel
-
- getText() - Method in class g4p_controls.GEditableTextControl
-
Get the text in the control
- getTextAreaHeight() - Method in class g4p_controls.StyledString
-
Return the height of the text line(s)
- getTextID() - Method in enum g4p_controls.GAlign
-
Get the text ID associated with this alignment.
- getToggleGroup() - Method in class g4p_controls.GToggleControl
-
Get the toggle group.
- getTrackOffset() - Method in class g4p_controls.GLinearTrackControl
-
Get the visual offset for the value/label text.
- getTurnMode() - Method in class g4p_controls.GKnob
-
Get the current mouse controller mode possible values are
GKnob.CTRL_ANGULAR or GKnob.CTRL_HORIZONTAL) orGKnob.CTRL_VERTICAL
- getUnit() - Method in class g4p_controls.GValueControl
-
- getValueF() - Method in class g4p_controls.GValueControl
-
Get the current value as a float
- getValueI() - Method in class g4p_controls.GValueControl
-
Get the current value as an integer.
- getValueS() - Method in class g4p_controls.GLinearTrackControl
-
If we are using labels then this will get the label text
associated with the current value.
- getValueS() - Method in class g4p_controls.GValueControl
-
If we are using labels then this will get the label text
associated with the current value.
- getValueType() - Method in class g4p_controls.GValueControl
-
- getVersion() - Static method in class g4p_controls.G4P
-
return the version of the library used by Processing
- getWidth() - Method in class g4p_controls.GAbstractControl
-
- getWrapWidth() - Method in class g4p_controls.StyledString
-
Get the break width used to create the lines.
- getX() - Method in class g4p_controls.GAbstractControl
-
Get the left position of the control
- getY() - Method in class g4p_controls.GAbstractControl
-
Get the left position of the control
- GEvent - Enum in g4p_controls
-
Enumeration of events that can be fired by G4P.
- GImageButton - Class in g4p_controls
-
Buttons create from this class use a number of images to represent it's
state.
- GImageButton(PApplet, float, float, String[]) - Constructor for class g4p_controls.GImageButton
-
The control size will be set to the size of the image file used for the button OFF state.
- GImageButton(PApplet, float, float, String[], String) - Constructor for class g4p_controls.GImageButton
-
The control size will be set to the size of the image file used for the button OFF state.
- GImageButton(PApplet, float, float, float, float, String[]) - Constructor for class g4p_controls.GImageButton
-
Create an image button of the size specified by the parameters.
- GImageButton(PApplet, float, float, float, float, String[], String) - Constructor for class g4p_controls.GImageButton
-
Create an image button of the size specified by the parameters.
- GKnob - Class in g4p_controls
-
The provides an extremely configurable GUI knob controller.
- GKnob(PApplet, float, float, float, float, float) - Constructor for class g4p_controls.GKnob
-
Will create the a circular knob control that fits the rectangle define by
the values passed as parameters.
- GLabel - Class in g4p_controls
-
The label component.
- GLabel(PApplet, float, float, float, float) - Constructor for class g4p_controls.GLabel
-
- GLabel(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GLabel
-
Create a label control.
- GLinearTrackControl - Class in g4p_controls
-
Base class for linear sliders.
- GLinearTrackControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GLinearTrackControl
-
- GOLD_SCHEME - Static variable in interface g4p_controls.GConstants
-
- GOption - Class in g4p_controls
-
A two-state toggle control.
- GOption(PApplet, float, float, float, float) - Constructor for class g4p_controls.GOption
-
Create an option button without text.
- GOption(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GOption
-
Create an option button with text.
- GPanel - Class in g4p_controls
-
A component that can be used to group GUI components that can be
dragged, collapsed (leaves title tab only) and un-collapsed.
- GPanel(PApplet, float, float, float, float) - Constructor for class g4p_controls.GPanel
-
- GPanel(PApplet, float, float, float, float, String) - Constructor for class g4p_controls.GPanel
-
Create a Panel that comprises of 2 parts the tab which is used to
select and move the panel and the container window below the tab which
is used to hold other components.
- GREEN_SCHEME - Static variable in interface g4p_controls.GConstants
-
- grid - Static variable in interface g4p_controls.GConstantsInternal
-
- GSketchPad - Class in g4p_controls
-
Display area for user generated graphics.
- GSketchPad(PApplet, float, float, float, float) - Constructor for class g4p_controls.GSketchPad
-
- GSlider - Class in g4p_controls
-
A simple graphical slider.
- GSlider(PApplet, float, float, float, float, float) - Constructor for class g4p_controls.GSlider
-
- GTabManager - Class in g4p_controls
-
Allows TABBING between text controls.
- GTabManager() - Constructor for class g4p_controls.GTabManager
-
- GTextArea - Class in g4p_controls
-
The text area component.
- GTextArea(PApplet, float, float, float, float) - Constructor for class g4p_controls.GTextArea
-
Create a text area without scrollbars and a text wrap width to fit the control.
- GTextArea(PApplet, float, float, float, float, int) - Constructor for class g4p_controls.GTextArea
-
Create a text field with the given scrollbar policy and a text wrap width to fit the control.
- GTextArea(PApplet, float, float, float, float, int, int) - Constructor for class g4p_controls.GTextArea
-
Create a text field with the given scrollbar policy with a user specified text wrap length
- GTextControl - Class in g4p_controls
-
Is the basis for all classes that have some simple non-editable text element to them.
- GTextControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GTextControl
-
- GTextField - Class in g4p_controls
-
The text field component.
- GTextField(PApplet, float, float, float, float) - Constructor for class g4p_controls.GTextField
-
Create a text field without a scrollbar.
- GTextField(PApplet, float, float, float, float, int) - Constructor for class g4p_controls.GTextField
-
Create a text field with the given scrollbar policy.
- GTextIconControl - Class in g4p_controls
-
Base class for controls with text and/or icon.
This class forms the basis for any control that has text and/or an icon.
- GTextIconControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GTextIconControl
-
- GTimer - Class in g4p_controls
-
This class is used to trigger events at user defined intervals.
- GTimer(PApplet, Object, String, int) - Constructor for class g4p_controls.GTimer
-
Create the GTimer object with this ctor.
- GToggleControl - Class in g4p_controls
-
This class forms the basis for any two-state type control (toggle switch).
- GToggleControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GToggleControl
-
- GToggleGroup - Class in g4p_controls
-
Use this class to create a single selection collection of options.
- GToggleGroup() - Constructor for class g4p_controls.GToggleGroup
-
Create a toggle group object.
- GValueControl - Class in g4p_controls
-
Base class for all slider and knob type controls.
- GValueControl(PApplet, float, float, float, float) - Constructor for class g4p_controls.GValueControl
-
- GWinApplet - Class in g4p_controls
-
CLASS FOR INTERNAL USE ONLY
This class extends PApplet and provides a drawing surface for
the GWindow class.
- GWinApplet(String) - Constructor for class g4p_controls.GWinApplet
-
- GWinData - Class in g4p_controls
-
This class is used to hold the data associated with a GWindow object.
- GWinData() - Constructor for class g4p_controls.GWinData
-
- GWindow - Class in g4p_controls
-
Objects of this class are separate windows which can be used to hold
G4P GUI components or used for drawing or both combined.
- GWindow(PApplet, String, int, int, int, int, boolean, String) - Constructor for class g4p_controls.GWindow
-
Create a window that can be used to hold G4P components or used
for drawing or both together.
- GWindow(PApplet, String, int, int, PImage, boolean, String) - Constructor for class g4p_controls.GWindow
-
- GWindowInfo - Class in g4p_controls
-
DO NOT ATTEMPT TO USE THIS CLASS
Although this class and many of its methods are declared public this is to make
them available through Refelection and means that should only be used inside the
library code.
- GWindowInfo(PApplet) - Constructor for class g4p_controls.GWindowInfo
-
Create an applet info object
- save(PApplet, StyledString, String) - Static method in class g4p_controls.StyledString
-
Save the named StyleString in the named file.
- SCHEME_10 - Static variable in interface g4p_controls.GConstants
-
- SCHEME_11 - Static variable in interface g4p_controls.GConstants
-
- SCHEME_12 - Static variable in interface g4p_controls.GConstants
-
- SCHEME_13 - Static variable in interface g4p_controls.GConstants
-
- SCHEME_14 - Static variable in interface g4p_controls.GConstants
-
- SCHEME_15 - Static variable in interface g4p_controls.GConstants
-
- SCHEME_8 - Static variable in interface g4p_controls.GConstants
-
- SCHEME_9 - Static variable in interface g4p_controls.GConstants
-
- SCROLLBAR_HORIZONTAL - Static variable in interface g4p_controls.GConstants
-
Create and display horizontal scrollbar only.
- SCROLLBAR_VERTICAL - Static variable in interface g4p_controls.GConstants
-
Create and display vertical scrollbar only.
- scrollbarEventHandler(GScrollbar, GEvent) - Method in class g4p_controls.GDropList
-
This method should not be called by the user.
- SCROLLBARS_AUTOHIDE - Static variable in interface g4p_controls.GConstants
-
whether to hide when not required
- SCROLLBARS_BOTH - Static variable in interface g4p_controls.GConstants
-
Create and display both vertical and horizontal scrollbars.
- SCROLLBARS_HORIZONTAL_ONLY - Static variable in interface g4p_controls.GConstants
-
Create and display horizontal scrollbar only.
- SCROLLBARS_NONE - Static variable in interface g4p_controls.GConstants
-
Do not create or display any scrollbars for the text control.
- SCROLLBARS_VERTICAL_ONLY - Static variable in interface g4p_controls.GConstants
-
Create and display vertical scrollbar only.
- setActionOnClose(int) - Method in class g4p_controls.GWindow
-
This sets what happens when the users attempts to close the window.
- setAlpha(int) - Method in class g4p_controls.GAbstractControl
-
Set the transparency of the component and make it unavailable to
mouse and keyboard events if below the threshold.
- setAlpha(int, boolean) - Method in class g4p_controls.GAbstractControl
-
Set the transparency of the component and make it unavailable to
mouse and keyboard events if below the threshold.
- setArcPolicy(boolean, boolean, boolean) - Method in class g4p_controls.GKnob
-
Convenience method to set both the show and the mouse over arc only properties
for this knob
- setAutoClear(boolean) - Method in class g4p_controls.GWindow
-
By default the background() method is called to set the background image/colour
every frame.
- setAvailable(boolean) - Method in class g4p_controls.GAbstractControl
-
If a control is made unavailable it will still be drawn but it not respond to user input.
- setAvailableChildren(boolean) - Method in class g4p_controls.GAbstractControl
-
Set the availability for the children only.
- setBackground(int) - Method in class g4p_controls.GWinApplet
-
INTERNAL USE ONLY
Use the equivalent method in GWindow
- setBackground(PImage) - Method in class g4p_controls.GWindow
-
Set the background image to be used instead of a plain color background
The window will resize to accommodate the image.
- setBackground(int) - Method in class g4p_controls.GWindow
-
Set the background color for the window.
- setCollapsed(boolean) - Method in class g4p_controls.GPanel
-
Collapse or open the panel
- setCtrlMode(int) - Static method in class g4p_controls.G4P
-
Change the way position and size parameters are interpreted when a control is created.
- setCursorOff(int) - Static method in class g4p_controls.G4P
-
Inform G4P which cursor shapes will be used.
- setCursorOver(int) - Method in class g4p_controls.GAbstractControl
-
Set the shape type to use when the cursor is over a control
- setDefaultText(String) - Method in class g4p_controls.GEditableTextControl
-
Set the default text for this control.
- setDefaultText(String) - Method in class g4p_controls.GTextArea
-
Set the default text for this control.
- setDelay(int) - Method in class g4p_controls.GTimer
-
Sets the initial delay and the interval between events.
- setDraggable(boolean) - Method in class g4p_controls.GPanel
-
Sets whether the panel can be dragged by the mouse or not.
- setEasing(float) - Method in class g4p_controls.GValueControl
-
Set the amount of easing to be used when a value is changing.
- setEnabled(boolean) - Method in class g4p_controls.GAbstractControl
-
Enable or disable the ability of the component to generate mouse events.
GTextField - it also controls key press events
GPanel - controls whether the panel can be moved/collapsed/expanded
- setEnabled(boolean) - Method in class g4p_controls.GButton
-
Enable or disable the ability of the component to generate mouse events.
If the control is to be disabled when it is clicked then this will guarentee the
mouse offf button image is used.
- setEnabled(boolean) - Method in class g4p_controls.GSlider
-
Enable or disable the ability of the component to generate mouse events.
GTextField - it also controls key press events
GPanel - controls whether the panel can be moved/collapsed/expanded
- setFocus(boolean) - Method in class g4p_controls.GAbstractControl
-
Determines whether this component is to have focus or not
- setFocus(boolean) - Method in class g4p_controls.GEditableTextControl
-
Determines whether this component is to have focus or not
- setFont(Font) - Method in class g4p_controls.GEditableTextControl
-
Set the font for this control.
- setFont(Font) - Method in class g4p_controls.GPanel
-
- setFont(Font) - Method in class g4p_controls.GTextControl
-
Set the font to be used in this control
- setFont(Font) - Method in class g4p_controls.StyledString
-
- setGlobalAlpha(int) - Static method in class g4p_controls.G4P
-
Set the transparency of all controls.
- setGlobalColorScheme(int) - Static method in class g4p_controls.G4P
-
Set the global colour scheme.
- setGraphic(PGraphics) - Method in class g4p_controls.GSketchPad
-
- setGripAmount(float) - Method in class g4p_controls.GKnob
-
The radius of the inner griper radius is calculated from the bezel radius
and the parameter gripAmount using
- setIcon(String, int, GAlign, GAlign) - Method in class g4p_controls.GTextIconControl
-
Set the icon to be used and the horizontal and/or vertical icon alignment.
- setIcon(PImage, int, GAlign, GAlign) - Method in class g4p_controls.GTextIconControl
-
Set the icon to be used and the horizontal and/or vertical icon alignment.
- setIconAlign(GAlign, GAlign) - Method in class g4p_controls.GTextIconControl
-
Change the alignment of an existing icn.
- setIncludeOverBezel(boolean) - Method in class g4p_controls.GKnob
-
Whether to include the bezel when deciding when the mouse is over.
- setInitialDelay(int) - Method in class g4p_controls.GTimer
-
Set the delay before the first event is triggered
- setInterval(int) - Method in class g4p_controls.GTimer
-
Set the interval between events
- setItems(String[], int) - Method in class g4p_controls.GDropList
-
Use this to set or change the list of items to appear in the list.
- setJustify(boolean) - Method in class g4p_controls.GEditableTextControl
-
- setJustify(boolean) - Method in class g4p_controls.StyledString
-
Text can be either left or fully justified.
- setJustifyRatio(float) - Method in class g4p_controls.StyledString
-
Justify only if the line has sufficient text to do so.
- setLimits(int, int) - Method in class g4p_controls.GValueControl
-
Sets the range of values to be returned.
- setLimits(int, int, int) - Method in class g4p_controls.GValueControl
-
Sets the initial value and the range of values to be returned.
- setLimits(float, float) - Method in class g4p_controls.GValueControl
-
Sets the range of values to be returned.
- setLimits(float, float, float) - Method in class g4p_controls.GValueControl
-
Sets the initial value and the range of values to be returned.
- setLocalColorScheme(int) - Method in class g4p_controls.GAbstractControl
-
Set the local colour scheme for this control.
- setLocalColorScheme(int, boolean) - Method in class g4p_controls.GAbstractControl
-
Set the local colour scheme for this control.
- setLocalColorScheme(int) - Method in class g4p_controls.GEditableTextControl
-
Sets the local colour scheme for this control
- setLocation(int, int) - Method in class g4p_controls.GWindow
-
Sets the location of the window.
- setMouseOverEnabled(boolean) - Static method in class g4p_controls.G4P
-
Enables or disables cursor over component change.
- setNbrTicks(int) - Method in class g4p_controls.GValueControl
-
The number of ticks must be >= 2 since 2 are required for the slider limits.
- setNumberFormat(int, int, String) - Method in class g4p_controls.GValueControl
-
Set the numberFormat, precision and units in one go.
- setNumberFormat(int, int) - Method in class g4p_controls.GValueControl
-
Set the numberFormat and precision in one go.
- setNumberFormat(int) - Method in class g4p_controls.GValueControl
-
- setOnTop(boolean) - Method in class g4p_controls.GWindow
-
Always make this window appear on top of other windows (or not).
- setOpaque(boolean) - Method in class g4p_controls.GAbstractControl
-
Determines whether to show the back colour or not.
- setOverArcOnly(boolean) - Method in class g4p_controls.GKnob
-
Decides when the knob will respond to the mouse buttons.
- setPrecision(int) - Method in class g4p_controls.GValueControl
-
For DECIMAL values this sets the number of decimal places to
be displayed.
- setResizable(boolean) - Method in class g4p_controls.GWindow
-
Determines whether the window is resizabale or not.
- setRotation(float, int) - Method in class g4p_controls.GAbstractControl
-
Set the rotation to apply when displaying this control.
- setRotation(float) - Method in class g4p_controls.GAbstractControl
-
- setSelected(int) - Method in class g4p_controls.GDropList
-
Set the currently selected item from the droplist by index position.
- setSelected(boolean) - Method in class g4p_controls.GToggleControl
-
- setSelectedTextStyle(TextAttribute, Object) - Method in class g4p_controls.GEditableTextControl
-
If some text has been selected then set the style.
- setSensitivity(float) - Method in class g4p_controls.GKnob
-
This gets the sensitivity to be used in modes CTRL_HORIZONTAL and CTRL_VERTICAL
A value of 1 is 1 degree per pixel and a value of 2 is 2 degrees per pixel.
- setShowArcOnly(boolean) - Method in class g4p_controls.GKnob
-
This will decide whether the knob is draw as a full circle or as an arc.
- setShowDecor(boolean, boolean, boolean, boolean) - Method in class g4p_controls.GValueControl
-
Convenience method to set what is to be drawn to the screen.
- setShowLimits(boolean) - Method in class g4p_controls.GValueControl
-
Set whether the limits are to be displayed or not.
- setShowTicks(boolean) - Method in class g4p_controls.GLinearTrackControl
-
Set whether the tick marks are to be displayed or not.
- setShowTicks(boolean) - Method in class g4p_controls.GValueControl
-
Set whether the tick marks are to be displayed or not.
- setShowTrack(boolean) - Method in class g4p_controls.GKnob
-
Whether or not to show the circular progress bar.
- setShowValue(boolean) - Method in class g4p_controls.GValueControl
-
Set whether the current value is to be displayed or not.
- setStickToTicks(boolean) - Method in class g4p_controls.GValueControl
-
Specify whether the values are to be constrained to the tick marks or not.
- setStyle(String) - Method in class g4p_controls.GCustomSlider
-
Change the sin used for the slider.
- setStyledText(StyledString) - Method in class g4p_controls.GTextControl
-
Allows the user to provide their own styled text for this component
- setText(String) - Method in class g4p_controls.GPanel
-
- setText(String) - Method in class g4p_controls.GTextArea
-
Set the text to be used.
- setText(String, int) - Method in class g4p_controls.GTextArea
-
Set the text to display and adjust any scrollbars
- setText(String) - Method in class g4p_controls.GTextControl
-
Set the text to be displayed.
- setText(String) - Method in class g4p_controls.GTextField
-
- setText(String) - Method in class g4p_controls.GTextIconControl
-
Set the text to be displayed and calculate the wrap length taking into
account any icon set.
- setTextAlign(GAlign, GAlign) - Method in class g4p_controls.GTextControl
-
Set the horizontal and/or vertical text alignment.
- setTextBold(int, int) - Method in class g4p_controls.GTextControl
-
Make the selected characters bold.
- setTextBold() - Method in class g4p_controls.GTextControl
-
Make all the characters bold.
- setTextItalic(int, int) - Method in class g4p_controls.GTextControl
-
Make the selected characters italic.
- setTextItalic() - Method in class g4p_controls.GTextControl
-
Make all the characters italic.
- setTextOrientation(int) - Method in class g4p_controls.GLinearTrackControl
-
Set the text orientation for the display of the limits and value if appropriate.
- setTextPlain() - Method in class g4p_controls.GTextControl
-
Clear all applied styles from the whole text.
- setTickLabels(String[]) - Method in class g4p_controls.GLinearTrackControl
-
This method is used to set the text to appear alongside the tick marks.
- setTrackOffset(float) - Method in class g4p_controls.GLinearTrackControl
-
The offset is the distance the value/labels are drawn from the
centre of the track.
- setTurnMode(int) - Method in class g4p_controls.GKnob
-
Set the mouse control mode to use, acceptable values are
GKnob.CTRL_ANGULAR or GKnob.CTRL_HORIZONTAL) orGKnob.CTRL_VERTICAL any
other value will be ignored.
- setTurnRange(float, float) - Method in class g4p_controls.GKnob
-
Set the limits for the range of valid rotation angles for the knob.
- setUnits(String) - Method in class g4p_controls.GValueControl
-
The units to be displayed with the current and limit values e.g.
- setup() - Method in class g4p_controls.GWinApplet
-
INTERNAL USE ONLY
The PApplet setup method to intialise the drawing surface
- setValue(float) - Method in class g4p_controls.GKnob
-
Set the value for the slider.
- setValue(float) - Method in class g4p_controls.GValueControl
-
Set the value for the slider.
- setVisible(boolean) - Method in class g4p_controls.GAbstractControl
-
- setVisible(boolean) - Method in class g4p_controls.GWindow
-
Sets the visibility of the window
(Already available from the Frame class - helps visibility
of method in G4P reference)
- setWindowAlpha(PApplet, int) - Static method in class g4p_controls.G4P
-
Set the transparency level for all controls drawn by the given
PApplet.
- setWindowAlpha(GWindow, int) - Static method in class g4p_controls.G4P
-
Set the transparency level for all controls drawn by the given
GWindow.
- setWindowColorScheme(PApplet, int) - Static method in class g4p_controls.G4P
-
Set the colour scheme for all the controls drawn by the given
PApplet.
- setWindowColorScheme(GWindow, int) - Static method in class g4p_controls.G4P
-
Set the colour scheme for all the controls drawn by the given
GWindow.
- setWrapWidth(int) - Method in class g4p_controls.StyledString
-
- SIZE - Static variable in interface g4p_controls.GConstants
-
- start() - Method in class g4p_controls.GTimer
-
Start the timer (call the method forever)
- start(int) - Method in class g4p_controls.GTimer
-
Start the timer and call the method for the number of
times indicated by nrepeats
If nrepeats is <=0 then repeat forever
- stext - Variable in class g4p_controls.GTextControl
-
The styled version of text
- stop() - Method in class g4p_controls.GTimer
-
Stop the timer (can be restarted with start() method)
- STRIKETHROUGH - Static variable in interface g4p_controls.GConstants
-
- STRIKETHROUGH_OFF - Static variable in interface g4p_controls.GConstants
-
- STRIKETHROUGH_ON - Static variable in interface g4p_controls.GConstants
-
- StyledString - Class in g4p_controls
-
This class is used to represent text with attributes.
- StyledString(String) - Constructor for class g4p_controls.StyledString
-
This is assumed to be a single line of text (i.e.
- StyledString(String, int) - Constructor for class g4p_controls.StyledString
-
Supports multiple lines of text wrapped on word boundaries.
- SUPERSCRIPT - Static variable in interface g4p_controls.GConstants
-
- SUPERSCRIPT_OFF - Static variable in interface g4p_controls.GConstants
-
- SUPERSCRIPT_SUB - Static variable in interface g4p_controls.GConstants
-
- SUPERSCRIPT_SUPER - Static variable in interface g4p_controls.GConstants
-