|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ucar.unidata.ui.ScaledPanel
public class ScaledPanel
Class ScaledPanel
| Nested Class Summary | |
|---|---|
static class |
ScaledPanel.Bounds
Why the heck did I create yet another Rectangle. |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ScaledPanel()
_more_ |
|
| Method Summary | |
|---|---|
void |
addCursorMoveEventListener(CursorMoveEventListener l)
Register a CursorMoveEventListener. |
void |
addPickEventListener(PickEventListener l)
Register a PickEventListener. |
void |
drawNow()
_more_ |
Graphics2D |
getBufferedImageGraphics()
User must get this Graphics2D and draw into it when panel needs redrawing |
ScaledPanel.Bounds |
getWorldBounds()
_more_ |
static void |
main(String[] argv)
_more_ |
void |
paintComponent(Graphics g)
System-triggered redraw. |
void |
removeCursorMoveEventListener(CursorMoveEventListener l)
Remove a CursorMoveEventListener. |
void |
removePickEventListener(PickEventListener l)
Remove a PickEventListener. |
void |
setWorldBounds(ScaledPanel.Bounds world)
_more_ |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ScaledPanel()
| Method Detail |
|---|
public void addCursorMoveEventListener(CursorMoveEventListener l)
l - public void removeCursorMoveEventListener(CursorMoveEventListener l)
l - public void addPickEventListener(PickEventListener l)
l - public void removePickEventListener(PickEventListener l)
l - public void setWorldBounds(ScaledPanel.Bounds world)
world - public ScaledPanel.Bounds getWorldBounds()
public Graphics2D getBufferedImageGraphics()
public void paintComponent(Graphics g)
paintComponent in class JComponentg - public void drawNow()
public static void main(String[] argv)
argv -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||