|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RichComponent
A component that can be part of the a rich user interface
Method Summary | |
---|---|
java.lang.String |
getRichText()
Gets the text to be displayed by the RichContainer for the component. |
void |
prePaintImage()
Allows a RichContainer to request that the component pre-renders anything that might provide peak performance. |
void |
setAlpha(float alpha)
Assisgns a uniform alpha to the component |
void |
setRichImage(java.io.File image)
Assigns an image to the component, the width and height taken from the supplied image |
void |
setRichImage(java.awt.Image image)
Assisgns an image to the component, the width and height taken from the supplied image |
void |
setRichImage(java.net.URL image)
Assigns an image to the component, the width and height taken from the supplied image |
void |
setRichText(java.lang.String text)
Specifies text that should be displayed by the rich component when getRichText() is called. |
Method Detail |
---|
void setRichImage(java.net.URL image)
image
- The URL of the imagevoid setRichImage(java.io.File image)
image
- A file referencing the imagevoid setRichImage(java.awt.Image image)
image
- An image object containing the imagevoid prePaintImage()
void setRichText(java.lang.String text)
text
- The text to be displayed. This may be different to that of the component
being enriched.java.lang.String getRichText()
void setAlpha(float alpha)
alpha
- A value from 0.0 to 1.0 where 1.0 is fully visible, and 0.0
is completely invisible.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |