    All Packages    This Package    Previous    Next

# Class awt.NativeDisplayItem

    java.lang.Object
       |
       +----browser.Observable
               |
               +----awt.DisplayItem
                       |
                       +----awt.NativeDisplayItem

public class NativeDisplayItem
extends DisplayItem

This class is used to create a DisplayItem object that encapsulates a native gui element. It translates the protocols used on DisplayItem to those that Component understands.

See Also:
  DisplayItem, Component
Version:
  1.17 02 Feb 1995
Author:
  Sami Shaio

##

NativeDisplayItem()
NativeDisplayItem(Component)

##

deactivate()
  Called when this item is no longer needed.
destroy()
getComponent()
map()
move(int, int)
paint(Window, int, int)
reshape(int, int, int, int)
resize(int, int)
setColor(Color)
setComponent(Component)
  Sets the component for this item.
unMap()

##

NativeDisplayItem

      public NativeDisplayItem()

NativeDisplayItem

      public NativeDisplayItem(Component c)

##

setComponent

      public void setComponent(Component c)

  Sets the component for this item.

getComponent

      public Component getComponent()

move

      public void move(int x,
                       int y)

reshape

      public void reshape(int x,
                          int y,
                          int w,
                          int h)

resize

      public void resize(int w,
                         int h)

deactivate

      public void deactivate()

  Called when this item is no longer needed.
  Overrides:
    deactivate in class DisplayItem

setColor

      public void setColor(Color c)

map

      public void map()

unMap

      public void unMap()

destroy

      public void destroy()

paint

      public void paint(Window window,
                        int x,
                        int y)

    All Packages    This Package    Previous    Next