|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.painter.decoration.BackgroundPainter
public class BackgroundPainter
Paints a simple solid color background.
Constructor Summary | |
---|---|
BackgroundPainter()
|
|
BackgroundPainter(boolean isFrameBackground)
|
Method Summary | |
---|---|
void |
dispose(GlimpseContext context)
Free GPU and CPU memory associated with this this GlimpsePainter. |
boolean |
isDisposed()
|
void |
paintTo(GlimpseContext context)
Renders this GlimpsePainter to the provided GlimpseContext. |
BackgroundPainter |
setColor(float[] rgba)
|
BackgroundPainter |
setColor(float r,
float g,
float b,
float a)
|
void |
setLookAndFeel(LookAndFeel laf)
Sets display options for the painter based on the provided LookAndFeel. |
void |
setLookAndFeelKey(java.lang.String key)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BackgroundPainter()
public BackgroundPainter(boolean isFrameBackground)
Method Detail |
---|
public BackgroundPainter setColor(float[] rgba)
public BackgroundPainter setColor(float r, float g, float b, float a)
public void setLookAndFeelKey(java.lang.String key)
public void paintTo(GlimpseContext context)
GlimpsePainter
paintTo
in interface GlimpsePainter
public void setLookAndFeel(LookAndFeel laf)
GlimpsePainter
setLookAndFeel
in interface GlimpsePainter
public void dispose(GlimpseContext context)
GlimpsePainter
dispose
in interface GlimpsePainter
public boolean isDisposed()
isDisposed
in interface GlimpsePainter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |