|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.painter.group.DelegatePainter
public class DelegatePainter
A painter which delegates its painting to a collection of
delegate GlimpsePainters
. This class can be used
to enforce a particular ordering on multiple sets of painter
(a background set and a foreground set, for example).
Constructor Summary | |
---|---|
DelegatePainter()
|
Method Summary | |
---|---|
void |
addPainter(GlimpsePainter painter)
|
void |
dispose(GlimpseContext context)
Free GPU and CPU memory associated with this this GlimpsePainter. |
boolean |
isDisposed()
|
boolean |
isVisible()
|
void |
paintTo(GlimpseContext context)
Renders this GlimpsePainter to the provided GlimpseContext. |
void |
removeAll()
|
void |
removePainter(GlimpsePainter painter)
|
void |
setLookAndFeel(LookAndFeel laf)
Sets display options for the painter based on the provided LookAndFeel. |
void |
setVisible(boolean visible)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatePainter()
Method Detail |
---|
public void addPainter(GlimpsePainter painter)
public void removePainter(GlimpsePainter painter)
public void removeAll()
public boolean isVisible()
public void setVisible(boolean visible)
public void paintTo(GlimpseContext context)
GlimpsePainter
paintTo
in interface GlimpsePainter
public void dispose(GlimpseContext context)
GlimpsePainter
dispose
in interface GlimpsePainter
public boolean isDisposed()
isDisposed
in interface GlimpsePainter
public void setLookAndFeel(LookAndFeel laf)
GlimpsePainter
setLookAndFeel
in interface GlimpsePainter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |