|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.ContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContentItem
synergynetframework.appsystem.contentsystem.items.QuadContentItem
synergynetframework.appsystem.contentsystem.items.Frame
synergynetframework.appsystem.contentsystem.items.TextLabel
synergynetframework.appsystem.contentsystem.items.SimpleButton
public class SimpleButton
The Class SimpleButton.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class synergynetframework.appsystem.contentsystem.items.TextLabel |
|---|
TextLabel.Alignment |
| Field Summary |
|---|
| Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
|---|
removable |
| Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
|---|
name |
| Constructor Summary | |
|---|---|
SimpleButton(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new simple button. |
|
| Method Summary | |
|---|---|
void |
addButtonListener(SimpleButtonListener l)
Adds the button listener. |
void |
fireButtonClicked(long id,
float x,
float y,
float pressure)
Fire button clicked. |
void |
fireButtonDragged(long id,
float x,
float y,
float pressure)
Fire button dragged. |
void |
fireButtonPressed(long id,
float x,
float y,
float pressure)
Fire button pressed. |
void |
fireButtonReleased(long id,
float x,
float y,
float pressure)
Fire button released. |
void |
fireCursorChanged(long id,
float x,
float y,
float pressure)
Fire cursor changed. |
void |
fireCursorClicked(long id,
float x,
float y,
float pressure)
Fire cursor clicked. |
void |
fireCursorPressed(long id,
float x,
float y,
float pressure)
Fire cursor pressed. |
void |
fireCursorReleased(long id,
float x,
float y,
float pressure)
Fire cursor released. |
void |
removeButtonListeners()
Removes the button listeners. |
| Methods inherited from class synergynetframework.appsystem.contentsystem.items.TextLabel |
|---|
clone, getAlignment, getFont, getText, getTextColour, setAlignment, setFont, setText, setTextColour |
| Methods inherited from class synergynetframework.appsystem.contentsystem.items.Frame |
|---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImageResources, getImages, removeAllImages, removeImage |
| Methods inherited from class synergynetframework.appsystem.contentsystem.items.QuadContentItem |
|---|
addSizeChangeListener, getHeight, getWidth, isAutoFitSize, removeSizeChangeListener, setAutoFit, setAutoFitSize, setHeight, setWidth |
| Methods inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
|---|
addMultitouchListener, canManipulate, contains, generateUniqueName, getAngle, getBackGround, getBackgroundColour, getBorder, getBorderColour, getBorderSize, getContentSystem, getId, getImplementationObject, getLocalLocation, getName, getNote, getResource, getScale, hasCollision, init, initImplementationObjet, isBoundaryEnabled, isVisible, setAngle, setBackGround, setBackgroundColour, setBorder, setBorderColour, setBorderSize, setBoundaryEnabled, setContentSystem, setId, setLocalLocation, setLocalLocation, setLocalLocation, setManipulate, setNote, setResource, setScale, setScale, setVisible, setVisible, update, update |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface synergynetframework.appsystem.contentsystem.items.listener.ItemListener |
|---|
cursorChanged, cursorClicked, cursorDoubleClicked, cursorLongHeld, cursorPressed, cursorReleased, cursorRightClicked |
| Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.ITextLabelImplementation |
|---|
getAlignment, setAlignment, setFont, setText, setTextColour |
| Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IFrameImplementation |
|---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImages, removeAllImages, removeImage |
| Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IQuadContentItemImplementation |
|---|
setAutoFitSize, setHeight, setWidth |
| Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation |
|---|
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
| Constructor Detail |
|---|
public SimpleButton(ContentSystem contentSystem,
java.lang.String name)
contentSystem - the content systemname - the name| Method Detail |
|---|
public void addButtonListener(SimpleButtonListener l)
l - the l
public void fireButtonClicked(long id,
float x,
float y,
float pressure)
id - the idx - the xy - the ypressure - the pressure
public void fireButtonDragged(long id,
float x,
float y,
float pressure)
id - the idx - the xy - the ypressure - the pressure
public void fireButtonPressed(long id,
float x,
float y,
float pressure)
id - the idx - the xy - the ypressure - the pressure
public void fireButtonReleased(long id,
float x,
float y,
float pressure)
id - the idx - the xy - the ypressure - the pressure
public void fireCursorChanged(long id,
float x,
float y,
float pressure)
OrthoContentItem
fireCursorChanged in class OrthoContentItemid - the idx - the xy - the ypressure - the pressure
public void fireCursorClicked(long id,
float x,
float y,
float pressure)
OrthoContentItem
fireCursorClicked in class OrthoContentItemid - the idx - the xy - the ypressure - the pressure
public void fireCursorPressed(long id,
float x,
float y,
float pressure)
OrthoContentItem
fireCursorPressed in class OrthoContentItemid - the idx - the xy - the ypressure - the pressure
public void fireCursorReleased(long id,
float x,
float y,
float pressure)
OrthoContentItem
fireCursorReleased in class OrthoContentItemid - the idx - the xy - the ypressure - the pressurepublic void removeButtonListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||