G4P GUI Builder
4.4
Visual GUI designer for the G4P v4.3.1 library
|
Classes | |
class | ShowBuilder |
Public Member Functions | |
GuiDesigner () | |
GuiDesigner (G4PTool tool) | |
void | refreshGUI () |
Static Public Member Functions | |
static GuiDesigner | instance () |
static void | keepOpen (boolean mode) |
static void | showWarning (String title, String message, Exception e) |
static void | main (String args[]) |
Private Member Functions | |
void | listenToEditorClosing (final javax.swing.JFrame window) |
void | addKeyBinding (Editor theEditor) |
void | createWindowAdapter () |
void | getIcons () |
void | initCustomComponents () |
void | initComponents () |
void | btnPanelActionPerformed (java.awt.event.ActionEvent evt) |
void | btnWindowActionPerformed (java.awt.event.ActionEvent evt) |
void | btnButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | btnImgButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | btnLabelActionPerformed (java.awt.event.ActionEvent evt) |
void | btnTextfieldActionPerformed (java.awt.event.ActionEvent evt) |
void | btnSliderActionPerformed (java.awt.event.ActionEvent evt) |
void | btnCoolSliderActionPerformed (java.awt.event.ActionEvent evt) |
void | btnKnobActionPerformed (java.awt.event.ActionEvent evt) |
void | btnCheckboxActionPerformed (java.awt.event.ActionEvent evt) |
void | btnOptionActionPerformed (java.awt.event.ActionEvent evt) |
void | btnOptGroupActionPerformed (java.awt.event.ActionEvent evt) |
void | btnDropListActionPerformed (java.awt.event.ActionEvent evt) |
void | btnTimerActionPerformed (java.awt.event.ActionEvent evt) |
void | btnRemoveActionPerformed (java.awt.event.ActionEvent evt) |
void | btnTextareaActionPerformed (java.awt.event.ActionEvent evt) |
void | btnViewActionPerformed (java.awt.event.ActionEvent evt) |
void | btnSlider2DActionPerformed (java.awt.event.ActionEvent evt) |
void | btnStickActionPerformed (java.awt.event.ActionEvent evt) |
void | btnImgTogButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | cbxShowGridActionPerformed (java.awt.event.ActionEvent evt) |
void | btnSnapActionPerformed (java.awt.event.ActionEvent evt) |
void | sdrGridSizeStateChanged (javax.swing.event.ChangeEvent evt) |
void | cbxAutoHide1ActionPerformed (java.awt.event.ActionEvent evt) |
void | btnPasswordActionPerformed (java.awt.event.ActionEvent evt) |
Private Attributes | |
G4PTool | tool |
WindowListener | winAdapt |
CtrlSketchView | treeSketchView |
CtrlPropView | tblPropView |
CtrlTabView | tabWindows |
GuiControl | guiControl |
javax.swing.JButton | btnButton |
javax.swing.JButton | btnCheckbox |
javax.swing.JButton | btnCoolSlider |
javax.swing.JButton | btnDropList |
javax.swing.JButton | btnImgButton |
javax.swing.JButton | btnImgTogButton |
javax.swing.JButton | btnKnob |
javax.swing.JButton | btnLabel |
javax.swing.JButton | btnOptGroup |
javax.swing.JButton | btnOption |
javax.swing.JButton | btnPanel |
javax.swing.JButton | btnPassword |
javax.swing.JButton | btnRemove |
javax.swing.JButton | btnView |
javax.swing.JButton | btnSlider |
javax.swing.JButton | btnSlider2D |
javax.swing.JCheckBox | btnSnap |
javax.swing.JButton | btnStick |
javax.swing.JButton | btnTextarea |
javax.swing.JButton | btnTextfield |
javax.swing.JButton | btnTimer |
javax.swing.JButton | btnWindow |
javax.swing.JCheckBox | cbxAutoHide1 |
javax.swing.JCheckBox | cbxShowGrid |
javax.swing.JLabel | jLabel1 |
javax.swing.JLabel | jLabel2 |
javax.swing.JLabel | jLabel3 |
javax.swing.JLabel | jLabel4 |
javax.swing.JLabel | lblGridSize |
javax.swing.JLabel | lblGridSizeTitle |
javax.swing.JLabel | lblGridTitle |
java.awt.Panel | pnlPropViiew |
javax.swing.JPanel | pnlToolBars |
java.awt.Panel | pnlTreeView |
javax.swing.JPanel | pnlWindowsView |
javax.swing.JSlider | sdrGridSize |
javax.swing.JScrollPane | spBot |
javax.swing.JScrollPane | spTop |
javax.swing.JLabel | spacer01 |
javax.swing.JSplitPane | splitControl |
javax.swing.JToolBar | tbarComponents |
javax.swing.JToolBar | tbarControls |
javax.swing.JToolBar | tbarGrid |
Static Private Attributes | |
static GuiDesigner | instance = null |
static boolean | stayOpen = false |
static boolean | autoHide = false |
The GUI designer window for the tool.
g4p.tool.gui.GuiDesigner.GuiDesigner | ( | ) |
Creates new form GuiDesignFrame
g4p.tool.gui.GuiDesigner.GuiDesigner | ( | G4PTool | tool | ) |
Creates new form GuiDesignFrame
Keep a reference to the editor
theEditor | |
size |
|
private |
Adds a key binding to show the GUI Builder window when the SHIFT+CTRL+F5 key combination is pressed.
|
private |
Invoked when a window is in the process of being closed. The close operation can be overridden at this point.
Invoked when a window has been closed.
Invoked when a window is iconified.
Invoked when a window is de-iconified.
Invoked when a window is activated.
Invoked when a window is de-activated.
|
private |
A fix since to make it work in Processing. Uses the images loaded during creation available for the dynamic elements e.g. icons in treeview and tab icons
|
private |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
|
private |
Listen to the editor and when it is closed then close this window
|
static |
args | the command line arguments |
|
static |
This is provided because the GuiDesigner window is specified as always-on-top and this conflicts with using a new Frame with JOptionPane.
Use this in preference to the static method in the class processing.app.Base
title | |
message | |
e | option exception |