|
||||||||||
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.OrthoContainer
synergynetframework.appsystem.contentsystem.items.ControlBar
public class ControlBar
The Class ControlBar.
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
ControlBar(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new control bar. |
Method Summary | |
---|---|
void |
addControlBarMoverListener(ControlBarMover.ControlBarMoverListener l)
Adds the control bar mover listener. |
java.net.URL |
getBarImageResource()
Gets the bar image resource. |
float |
getControlBarLength()
Gets the control bar length. |
float |
getControlBarWidth()
Gets the control bar width. |
float |
getCurrentPosition()
Gets the current position. |
java.net.URL |
getCursorImageResource()
Gets the cursor image resource. |
java.net.URL |
getFinishedBarImageResource()
Gets the finished bar image resource. |
boolean |
isControlBarMoverEnabled()
Checks if is control bar mover enabled. |
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.items.OrthoContainer |
---|
addSubItem, contains, detachSubItem, getAllItemsIncludeSystemItems, getNode, removeSubItem, removeSubItem, setBringToTopable, setRotateTranslateScalable, setScaleLimit, setTopItem, updateOrder |
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.implementation.interfaces.IOrthoContainerImplementation |
---|
addSubItem, detachSubItem, getNode, removeSubItem, updateOrder |
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 ControlBar(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod Detail |
---|
public void addControlBarMoverListener(ControlBarMover.ControlBarMoverListener l)
IControlBarImplementation
addControlBarMoverListener
in interface IControlBarImplementation
l
- the lpublic java.net.URL getBarImageResource()
public float getControlBarLength()
public float getControlBarWidth()
public float getCurrentPosition()
public java.net.URL getCursorImageResource()
public java.net.URL getFinishedBarImageResource()
public boolean isControlBarMoverEnabled()
public void setBarImageResource(java.net.URL imageResource)
IControlBarImplementation
setBarImageResource
in interface IControlBarImplementation
imageResource
- the new bar image resourcepublic void setControlBarLength(float controlBarLength)
IControlBarImplementation
setControlBarLength
in interface IControlBarImplementation
controlBarLength
- the new control bar lengthpublic void setControlBarMoverEnabled(boolean controlBarMoverEnabled)
IControlBarImplementation
setControlBarMoverEnabled
in interface IControlBarImplementation
controlBarMoverEnabled
- the new control bar mover enabledpublic void setControlBarWidth(float controlBarWidth)
IControlBarImplementation
setControlBarWidth
in interface IControlBarImplementation
controlBarWidth
- the new control bar widthpublic void setCurrentPosition(float currentPosition)
IControlBarImplementation
setCurrentPosition
in interface IControlBarImplementation
currentPosition
- the new current positionpublic void setCursorImageResource(java.net.URL imageResource)
IControlBarImplementation
setCursorImageResource
in interface IControlBarImplementation
imageResource
- the new cursor image resourcepublic void setFinishedBarImageResource(java.net.URL imageResource)
IControlBarImplementation
setFinishedBarImageResource
in interface IControlBarImplementation
imageResource
- 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 |