public class GUIController extends Object implements ClipboardOwner
Modifier and Type | Field and Description |
---|---|
processing.core.PApplet |
parent |
boolean |
showBounds |
IFPGraphicsState |
userState |
Constructor and Description |
---|
GUIController(processing.core.PApplet newParent) |
GUIController(processing.core.PApplet newParent,
boolean newVisible) |
GUIController(processing.core.PApplet newParent,
int x,
int y,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(GUIEvent e) |
void |
add(interfascia.GUIComponent component) |
void |
addActionListener(Object newListener) |
boolean |
canReceiveFocus() |
void |
copy(String v) |
void |
draw() |
void |
fireEventNotification(interfascia.GUIComponent argComponent,
String argMessage) |
int |
getAbsoluteX() |
int |
getAbsoluteY() |
interfascia.GUIComponent |
getComponentWithFocus() |
GUIController |
getController() |
boolean |
getFocusStatusForComponent(interfascia.GUIComponent c) |
int |
getHeight() |
int |
getIndex() |
String |
getLabel() |
IFLookAndFeel |
getLookAndFeel() |
processing.core.PApplet |
getParent() |
boolean |
getVisible() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
initWithParent() |
boolean |
isMouseOver(int mouseX,
int mouseY) |
void |
keyEvent(processing.event.KeyEvent e) |
void |
lostOwnership(Clipboard parClipboard,
Transferable parTransferable) |
void |
mouseEvent(processing.event.MouseEvent e) |
String |
paste() |
void |
remove(interfascia.GUIComponent component) |
void |
requestFocus(interfascia.GUIComponent c) |
void |
setController(GUIController c) |
void |
setHeight(int newHeight) |
void |
setIndex(int i) |
void |
setLabel(String argLabel) |
void |
setLookAndFeel(IFLookAndFeel lf) |
void |
setParent(processing.core.PApplet argParent) |
void |
setPosition(int newX,
int newY) |
void |
setSize(int newWidth,
int newHeight) |
void |
setVisible(boolean newVisible) |
void |
setWidth(int newWidth) |
void |
setX(int newX) |
void |
setY(int newY) |
void |
update(int argX,
int argY) |
void |
yieldFocus(interfascia.GUIComponent c) |
public IFPGraphicsState userState
public processing.core.PApplet parent
public boolean showBounds
public GUIController(processing.core.PApplet newParent)
public GUIController(processing.core.PApplet newParent, int x, int y, int width, int height)
public GUIController(processing.core.PApplet newParent, boolean newVisible)
public void setLookAndFeel(IFLookAndFeel lf)
public IFLookAndFeel getLookAndFeel()
public void add(interfascia.GUIComponent component)
public void remove(interfascia.GUIComponent component)
public void setParent(processing.core.PApplet argParent)
public processing.core.PApplet getParent()
public void setVisible(boolean newVisible)
public boolean getVisible()
public void requestFocus(interfascia.GUIComponent c)
public void yieldFocus(interfascia.GUIComponent c)
public interfascia.GUIComponent getComponentWithFocus()
public boolean getFocusStatusForComponent(interfascia.GUIComponent c)
public void lostOwnership(Clipboard parClipboard, Transferable parTransferable)
lostOwnership
in interface ClipboardOwner
public void copy(String v)
public String paste()
public void keyEvent(processing.event.KeyEvent e)
public void draw()
public void setIndex(int i)
public int getIndex()
public void update(int argX, int argY)
public void setController(GUIController c)
public GUIController getController()
public void initWithParent()
public String getLabel()
public void setLabel(String argLabel)
public boolean canReceiveFocus()
public int getWidth()
public void setWidth(int newWidth)
public int getHeight()
public void setHeight(int newHeight)
public void addActionListener(Object newListener)
public void setSize(int newWidth, int newHeight)
public void setPosition(int newX, int newY)
public void setX(int newX)
public int getX()
public int getAbsoluteX()
public void setY(int newY)
public int getY()
public int getAbsoluteY()
public void mouseEvent(processing.event.MouseEvent e)
public void actionPerformed(GUIEvent e)
public void fireEventNotification(interfascia.GUIComponent argComponent, String argMessage)
public boolean isMouseOver(int mouseX, int mouseY)
Processing Library interfascia by Brendan Berg. (c) 2015