|
||||||||||
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.LightImageLabel
public class LightImageLabel
The Class LightImageLabel.
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
LightImageLabel(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new light image label. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
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. |
boolean |
isAplaEnabled()
Checks if is apla enabled. |
boolean |
isAspectRatioEnabled()
Checks if is aspect ratio enabled. |
void |
setImageLabelHeight(int height)
Sets the image label height. |
void |
useAlpha(boolean useAlpha)
Use alpha. |
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.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 LightImageLabel(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class QuadContentItem
java.lang.CloneNotSupportedException
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 boolean isAplaEnabled()
ILightImageLabelImplementation
isAplaEnabled
in interface ILightImageLabelImplementation
public boolean isAspectRatioEnabled()
ILightImageLabelImplementation
isAspectRatioEnabled
in interface ILightImageLabelImplementation
public void setImageLabelHeight(int height)
height
- the new image label heightpublic 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 |