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

Constructor Index

 o WidgetImpl(Component)

Method Index

 o allocate(Allocation)
 o disconnected()
 o getParentGlyph()
 o getSgraphicsAdapter()
 o handleEvent(GraphicsEvent)
Handles the event.
 o needRedraw()
This calls up the parent chain which leads to redrawing all the glyphs under the Viewer.
 o needRedraw(Area)
This calls up the parent chain which leads to redrawing the area.
 o needResize()
This calls up the parent chain which leads to resizing and redrawing all the glyphs under the Viewer.
 o pick(Picker)
Checks for hits.
 o processPick(Picker, GraphicsEvent)
Process a pick.
 o removeCallback()
Remove the callback.
 o requirements()
Ask for the glyph's geometry requirements.
 o setCallback(ViewerCallback)
Set a callback.
 o setParent(Glyph)

Constructors

 o WidgetImpl
  public WidgetImpl(Component comp)

Methods

 o disconnected
  public void disconnected()
 o requirements
  public Requirements requirements()
Ask for the glyph's geometry requirements.
Overrides:
requirements in class MonoGlyph
 o allocate
  public void allocate(Allocation allocation)
Overrides:
allocate in class MonoGlyph
 o setParent
  public void setParent(Glyph parent)
Overrides:
setParent in class ViewerImpl
 o getParentGlyph
  public Glyph getParentGlyph()
Overrides:
getParentGlyph in class GlyphImpl
 o pick
  public void pick(Picker pick)
Checks for hits.
Overrides:
pick in class ViewerImpl
 o setCallback
  public void setCallback(ViewerCallback callback)
Set a callback.
Overrides:
setCallback in class ViewerImpl
 o removeCallback
  public void removeCallback()
Remove the callback.
Overrides:
removeCallback in class ViewerImpl
 o processPick
  public boolean processPick(Picker pick,
                             GraphicsEvent event)
Process a pick.
Overrides:
processPick in class ViewerImpl
 o handleEvent
  public boolean handleEvent(GraphicsEvent evt)
Handles the event.
Overrides:
handleEvent in class ViewerImpl
 o 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
 o needRedraw
  public void needRedraw(Area area)
This calls up the parent chain which leads to redrawing the area.
Overrides:
needRedraw in class GlyphImpl
 o 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
 o getSgraphicsAdapter
  public SgraphicsAdapter getSgraphicsAdapter()
Overrides:
getSgraphicsAdapter in class GlyphImpl

All Packages  Class Hierarchy  This Package  Previous  Next  Index