|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.view.CompositeDrawable
public class CompositeDrawable
A composite Drawable instance that merges multiple Drawables into one
| Constructor Summary | |
|---|---|
CompositeDrawable()
Creates a new instance of CompositeDrawable |
|
| Method Summary | |
|---|---|
void |
addDrawable(Drawable d)
Adds another one to the internal list. |
Rectangle |
getBounds()
Lazily calculates the bounds of the drawables. |
void |
paint(Graphics2D g)
Calls paint on all drawables. |
boolean |
removeDrawable(Drawable d)
Removes one from the internal list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeDrawable()
| Method Detail |
|---|
public void addDrawable(Drawable d)
public boolean removeDrawable(Drawable d)
public Rectangle getBounds()
getBounds in interface Drawablepublic void paint(Graphics2D g)
paint in interface Drawable
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||