public interface P2DViewInterface
Modifier and Type | Method and Description |
---|---|
void |
draw(P2DComponentInterface component,
P2DContainerInterface container,
java.awt.Graphics2D g)
Draw the component specific elements.
|
void |
drawBackground(P2DComponentInterface component,
P2DContainerInterface container,
java.awt.Graphics2D g)
Draw the component's background.
|
void |
drawChildren(P2DComponentInterface component,
P2DContainerInterface container,
java.awt.Graphics2D g)
Draw the component's children.
|
void |
drawFrame(P2DComponentInterface component,
P2DContainerInterface container,
java.awt.Graphics2D g)
Draw the component's frame.
|
void |
initialize()
Initialize the object.
|
void |
install(P2DComponentInterface component)
Install the view for the given component.
|
void |
paint(P2DComponentInterface component,
P2DContainerInterface container,
java.awt.Graphics2D g)
Paint the component.
|
void |
revalidate(P2DComponentInterface component,
boolean recursive)
Request a newly calculation of the component.
|
void |
uninstall(P2DComponentInterface component)
Uninstall the view for the given component.
|
void initialize()
void install(P2DComponentInterface component)
void uninstall(P2DComponentInterface component)
void revalidate(P2DComponentInterface component, boolean recursive)
void paint(P2DComponentInterface component, P2DContainerInterface container, java.awt.Graphics2D g)
container
- The toplevel container.component
- The component to be paint.g
- The graphics context.void draw(P2DComponentInterface component, P2DContainerInterface container, java.awt.Graphics2D g)
container
- The toplevel container.component
- The component to be paint.g
- The graphics context.void drawBackground(P2DComponentInterface component, P2DContainerInterface container, java.awt.Graphics2D g)
container
- The toplevel container.component
- The component to be paint.g
- The graphics context.void drawFrame(P2DComponentInterface component, P2DContainerInterface container, java.awt.Graphics2D g)
container
- The toplevel container.component
- The component to be paint.g
- The graphics context.void drawChildren(P2DComponentInterface component, P2DContainerInterface container, java.awt.Graphics2D g)
container
- The toplevel container.component
- The component to be paint.g
- The graphics context.