Class sgraphics.widget.WidgetImpl
All Packages Class Hierarchy This Package Previous Next Index
Class sgraphics.widget.WidgetImpl
java.lang.Object
|
+----sgraphics.GlyphImpl
|
+----sgraphics.MonoGlyph
|
+----sgraphics.ViewerImpl
|
+----sgraphics.widget.WidgetImpl
- public class WidgetImpl
- extends ViewerImpl
- implements Widget
-
WidgetImpl(Component)
-
-
allocate(Allocation)
-
-
disconnected()
-
-
getParentGlyph()
-
-
getSgraphicsAdapter()
-
-
handleEvent(GraphicsEvent)
- Handles the event.
-
needRedraw()
- This calls up the parent chain which leads to redrawing
all the glyphs under the Viewer.
-
needRedraw(Area)
- This calls up the parent chain which leads to redrawing
the area.
-
needResize()
- This calls up the parent chain which leads to resizing and redrawing
all the glyphs under the Viewer.
-
pick(Picker)
- Checks for hits.
-
processPick(Picker, GraphicsEvent)
- Process a pick.
-
removeCallback()
- Remove the callback.
-
requirements()
- Ask for the glyph's geometry requirements.
-
setCallback(ViewerCallback)
- Set a callback.
-
setParent(Glyph)
-
WidgetImpl
public WidgetImpl(Component comp)
disconnected
public void disconnected()
requirements
public Requirements requirements()
- Ask for the glyph's geometry requirements.
- Overrides:
- requirements in class MonoGlyph
allocate
public void allocate(Allocation allocation)
- Overrides:
- allocate in class MonoGlyph
setParent
public void setParent(Glyph parent)
- Overrides:
- setParent in class ViewerImpl
getParentGlyph
public Glyph getParentGlyph()
- Overrides:
- getParentGlyph in class GlyphImpl
pick
public void pick(Picker pick)
- Checks for hits.
- Overrides:
- pick in class ViewerImpl
setCallback
public void setCallback(ViewerCallback callback)
- Set a callback.
- Overrides:
- setCallback in class ViewerImpl
removeCallback
public void removeCallback()
- Remove the callback.
- Overrides:
- removeCallback in class ViewerImpl
processPick
public boolean processPick(Picker pick,
GraphicsEvent event)
- Process a pick.
- Overrides:
- processPick in class ViewerImpl
handleEvent
public boolean handleEvent(GraphicsEvent evt)
- Handles the event.
- Overrides:
- handleEvent in class ViewerImpl
needRedraw
public void needRedraw()
- This calls up the parent chain which leads to redrawing
all the glyphs under the Viewer.
- Overrides:
- needRedraw in class GlyphImpl
needRedraw
public void needRedraw(Area area)
- This calls up the parent chain which leads to redrawing
the area.
- Overrides:
- needRedraw in class GlyphImpl
needResize
public void needResize()
- This calls up the parent chain which leads to resizing and redrawing
all the glyphs under the Viewer.
- Overrides:
- needResize in class GlyphImpl
getSgraphicsAdapter
public SgraphicsAdapter getSgraphicsAdapter()
- Overrides:
- getSgraphicsAdapter in class GlyphImpl
All Packages Class Hierarchy This Package Previous Next Index