All Packages Class Hierarchy This Package Previous Next Index
Class sun.beanbox.Wrapper
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----sun.beanbox.Wrapper
- public class Wrapper
- extends Panel
- implements Serializable, MouseListener, MouseMotionListener
-
Wrapper(Object, String)
-
-
activate()
-
-
deactivate()
-
-
doLayout()
-
-
doMouseStuff(MouseEvent)
-
-
findWrapper(Component)
- Static method to map from an AWT component to the associated Wrapper.
-
getBean()
- get the wrapped bean.
-
getBeanName()
- get the wrapped beanName
-
getChild()
- get the AWT component used to represent the wrapped bean.
-
getPreferredSize()
-
-
handleEvent(Event)
-
Deprecated.
-
mouseClicked(MouseEvent)
-
-
mouseDragged(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mouseMoved(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
paint(Graphics)
-
-
setActive(boolean)
-
-
setBounds(int, int, int, int)
-
Wrapper
public Wrapper(Object bean,
String beanName)
getBean
public Object getBean()
- get the wrapped bean.
getBeanName
public String getBeanName()
- get the wrapped beanName
getChild
public Component getChild()
- get the AWT component used to represent the wrapped bean.
findWrapper
public static Wrapper findWrapper(Component comp)
- Static method to map from an AWT component to the associated Wrapper.
doLayout
public void doLayout()
- Overrides:
- doLayout in class Container
setActive
public void setActive(boolean isActive)
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class Container
setBounds
public void setBounds(int x,
int y,
int width,
int height)
- Overrides:
- setBounds in class Component
paint
public void paint(Graphics g)
- Overrides:
- paint in class Container
activate
public synchronized void activate()
deactivate
public synchronized void deactivate()
doMouseStuff
public synchronized void doMouseStuff(MouseEvent evt)
mouseClicked
public void mouseClicked(MouseEvent evt)
mousePressed
public void mousePressed(MouseEvent evt)
mouseReleased
public void mouseReleased(MouseEvent evt)
mouseEntered
public void mouseEntered(MouseEvent evt)
mouseExited
public void mouseExited(MouseEvent evt)
mouseDragged
public void mouseDragged(MouseEvent evt)
mouseMoved
public void mouseMoved(MouseEvent evt)
handleEvent
public boolean handleEvent(Event evt)
- Note: handleEvent() is deprecated.
Provided for backwards compatibility only.
We support old-style event handling as a backward compatibility
feature when we're wrapping a bean using the old event model.
- Overrides:
- handleEvent in class Component
All Packages Class Hierarchy This Package Previous Next Index