|
||||||||||
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 itemMethod Detail |
---|
public void drawImage(java.awt.Image image)
ILightImageLabelImplementation
drawImage
in interface ILightImageLabelImplementation
image
- the imagepublic void drawImage(java.net.URL imageResource)
ILightImageLabelImplementation
drawImage
in interface ILightImageLabelImplementation
imageResource
- the image resourcepublic void enableAspectRatio(boolean isAspectRationEnabled)
ILightImageLabelImplementation
enableAspectRatio
in interface ILightImageLabelImplementation
isAspectRationEnabled
- the is aspect ration enabledpublic java.net.URL getImageResource()
ILightImageLabelImplementation
getImageResource
in interface ILightImageLabelImplementation
public void init()
IContentItemImplementation
init
in interface IContentItemImplementation
init
in class JMEContentItem
public boolean isAplaEnabled()
ILightImageLabelImplementation
isAplaEnabled
in interface ILightImageLabelImplementation
public boolean isAspectRatioEnabled()
ILightImageLabelImplementation
isAspectRatioEnabled
in interface ILightImageLabelImplementation
public void setAutoFitSize(boolean isEnabled)
IQuadContentItemImplementation
setAutoFitSize
in interface IQuadContentItemImplementation
setAutoFitSize
in class JMEQuadContentItem
isEnabled
- the new auto fit sizepublic void setHeight(int height)
IQuadContentItemImplementation
setHeight
in interface IQuadContentItemImplementation
setHeight
in class JMEQuadContentItem
height
- the new heightpublic void setWidth(int width)
IQuadContentItemImplementation
setWidth
in interface IQuadContentItemImplementation
setWidth
in class JMEQuadContentItem
width
- the new widthpublic void useAlpha(boolean useAlpha)
ILightImageLabelImplementation
useAlpha
in interface ILightImageLabelImplementation
useAlpha
- the use alpha
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |