|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContainer
synergynetframework.appsystem.contentsystem.jme.items.JMEControlBar
public class JMEControlBar
The Class JMEControlBar.
| Constructor Summary | |
|---|---|
JMEControlBar(ContentItem contentItem)
Instantiates a new JME control bar. |
|
| Method Summary | |
|---|---|
void |
addControlBarMoverListener(ControlBarMover.ControlBarMoverListener l)
Adds the control bar mover listener. |
void |
controlBarChanged(float oldPosition,
float newPosition)
Control bar changed. |
void |
cursorPressed()
Cursor pressed. |
void |
cursorReleased()
Cursor released. |
void |
init()
Inits the. |
void |
render()
Render. |
void |
setBarImageResource(java.net.URL imageResource)
Sets the bar image resource. |
void |
setControlBarLength(float controlBarLength)
Sets the control bar length. |
void |
setControlBarMoverEnabled(boolean controlBarMoverEnabled)
Sets the control bar mover enabled. |
void |
setControlBarWidth(float controlBarWidth)
Sets the control bar width. |
void |
setCurrentPosition(float currentPosition)
Sets the current position. |
void |
setCursorImageResource(java.net.URL imageResource)
Sets the cursor image resource. |
void |
setFinishedBarImageResource(java.net.URL imageResource)
Sets the finished bar image resource. |
void |
updateControlBar()
Update control bar. |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContainer |
|---|
addSubItem, detachSubItem, getNode, removeSubItem, setBackGround, setBorder, updateOrder |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem |
|---|
contains, getImplementationObject, getLocalLocation, hasCollision, setAngle, setBoundaryEnabled, setId, setLocation, setManipulate, setScale, setScale, setVisible, setVisible |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IOrthoContainerImplementation |
|---|
addSubItem, detachSubItem, getNode, removeSubItem, updateOrder |
| Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation |
|---|
addMultitouchListener, contains, getImplementationObject, hasCollision, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
| Constructor Detail |
|---|
public JMEControlBar(ContentItem contentItem)
contentItem - the content item| Method Detail |
|---|
public void addControlBarMoverListener(ControlBarMover.ControlBarMoverListener l)
IControlBarImplementation
addControlBarMoverListener in interface IControlBarImplementationl - the l
public void controlBarChanged(float oldPosition,
float newPosition)
ControlBarMover.ControlBarMoverListener
controlBarChanged in interface ControlBarMover.ControlBarMoverListeneroldPosition - the old positionnewPosition - the new positionpublic void cursorPressed()
ControlBarMover.ControlBarMoverListener
cursorPressed in interface ControlBarMover.ControlBarMoverListenerpublic void cursorReleased()
ControlBarMover.ControlBarMoverListener
cursorReleased in interface ControlBarMover.ControlBarMoverListenerpublic void init()
IContentItemImplementation
init in interface IContentItemImplementationinit in class JMEContentItempublic void render()
public void setBarImageResource(java.net.URL imageResource)
IControlBarImplementation
setBarImageResource in interface IControlBarImplementationimageResource - the new bar image resourcepublic void setControlBarLength(float controlBarLength)
IControlBarImplementation
setControlBarLength in interface IControlBarImplementationcontrolBarLength - the new control bar lengthpublic void setControlBarMoverEnabled(boolean controlBarMoverEnabled)
IControlBarImplementation
setControlBarMoverEnabled in interface IControlBarImplementationcontrolBarMoverEnabled - the new control bar mover enabledpublic void setControlBarWidth(float controlBarWidth)
IControlBarImplementation
setControlBarWidth in interface IControlBarImplementationcontrolBarWidth - the new control bar widthpublic void setCurrentPosition(float currentPosition)
IControlBarImplementation
setCurrentPosition in interface IControlBarImplementationcurrentPosition - the new current positionpublic void setCursorImageResource(java.net.URL imageResource)
IControlBarImplementation
setCursorImageResource in interface IControlBarImplementationimageResource - the new cursor image resourcepublic void setFinishedBarImageResource(java.net.URL imageResource)
IControlBarImplementation
setFinishedBarImageResource in interface IControlBarImplementationimageResource - the new finished bar image resourcepublic void updateControlBar()
IControlBarImplementation
updateControlBar in interface IControlBarImplementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||