|
||||||||||
| 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.JMEQuadContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMELightImageLabel
public class JMELightImageLabel
The Class JMELightImageLabel.
| Constructor Summary | |
|---|---|
JMELightImageLabel(ContentItem contentItem)
Instantiates a new JME light image label. |
|
| Method Summary | |
|---|---|
void |
drawImage(java.awt.Image image)
Draw image. |
void |
drawImage(java.net.URL imageResource)
Draw image. |
void |
enableAspectRatio(boolean isAspectRationEnabled)
Enable aspect ratio. |
java.net.URL |
getImageResource()
Gets the image resource. |
void |
init()
Inits the. |
boolean |
isAplaEnabled()
Checks if is apla enabled. |
boolean |
isAspectRatioEnabled()
Checks if is aspect ratio enabled. |
void |
setAutoFitSize(boolean isEnabled)
Sets the auto fit size. |
void |
setHeight(int height)
Sets the height. |
void |
setWidth(int width)
Sets the width. |
void |
useAlpha(boolean useAlpha)
Use alpha. |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem |
|---|
cursorChanged, cursorClicked, cursorPressed, cursorReleased |
| 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.IContentItemImplementation |
|---|
addMultitouchListener, contains, getImplementationObject, hasCollision, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
| Constructor Detail |
|---|
public JMELightImageLabel(ContentItem contentItem)
contentItem - the content item| Method Detail |
|---|
public void drawImage(java.awt.Image image)
ILightImageLabelImplementation
drawImage in interface ILightImageLabelImplementationimage - the imagepublic void drawImage(java.net.URL imageResource)
ILightImageLabelImplementation
drawImage in interface ILightImageLabelImplementationimageResource - the image resourcepublic void enableAspectRatio(boolean isAspectRationEnabled)
ILightImageLabelImplementation
enableAspectRatio in interface ILightImageLabelImplementationisAspectRationEnabled - the is aspect ration enabledpublic java.net.URL getImageResource()
ILightImageLabelImplementation
getImageResource in interface ILightImageLabelImplementationpublic void init()
IContentItemImplementation
init in interface IContentItemImplementationinit in class JMEContentItempublic boolean isAplaEnabled()
ILightImageLabelImplementation
isAplaEnabled in interface ILightImageLabelImplementationpublic boolean isAspectRatioEnabled()
ILightImageLabelImplementation
isAspectRatioEnabled in interface ILightImageLabelImplementationpublic void setAutoFitSize(boolean isEnabled)
IQuadContentItemImplementation
setAutoFitSize in interface IQuadContentItemImplementationsetAutoFitSize in class JMEQuadContentItemisEnabled - the new auto fit sizepublic void setHeight(int height)
IQuadContentItemImplementation
setHeight in interface IQuadContentItemImplementationsetHeight in class JMEQuadContentItemheight - the new heightpublic void setWidth(int width)
IQuadContentItemImplementation
setWidth in interface IQuadContentItemImplementationsetWidth in class JMEQuadContentItemwidth - the new widthpublic void useAlpha(boolean useAlpha)
ILightImageLabelImplementation
useAlpha in interface ILightImageLabelImplementationuseAlpha - the use alpha
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||