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, String)
-
-
activate()
-
-
deactivate()
-
-
doLayout()
-
-
doMouseStuff(MouseEvent)
-
-
findWrapper(Component)
- Static method to map from an AWT component to the associated Wrapper.
-
getAdderName(String)
-
-
getBean()
- get the wrapped bean.
-
getBeanLabel()
- get the wrapped beanName
-
getBeanName()
- get the wrapped beanName
-
getChangedProperties()
- get the properties changed at design time.
-
getChild()
- get the AWT component used to represent the wrapped bean.
-
getEventHookupInfo()
- This will replace the bottom two
-
getPreferredSize()
-
-
getRemoverName(String)
-
-
handleEvent(Event)
-
Deprecated.
-
isFromPrototype()
- get whether or not the target bean is from a serialized origin
-
mouseClicked(MouseEvent)
-
-
mouseDragged(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mouseMoved(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
paint(Graphics)
-
-
setActive(boolean)
-
-
setBounds(int, int, int, int)
-
-
setFromPrototype(boolean)
- set whether or not the target bean is from a serialized origin
Wrapper
public Wrapper(Object bean,
String beanLabel,
String beanName)
getAdderName
public String getAdderName(String eventSetName)
getRemoverName
public String getRemoverName(String eventSetName)
getEventHookupInfo
public WrapperEventInfo[] getEventHookupInfo()
- This will replace the bottom two
setFromPrototype
public void setFromPrototype(boolean b)
- set whether or not the target bean is from a serialized origin
isFromPrototype
public boolean isFromPrototype()
- get whether or not the target bean is from a serialized origin
getBean
public Object getBean()
- get the wrapped bean.
getBeanLabel
public String getBeanLabel()
- get the wrapped beanName
getBeanName
public String getBeanName()
- get the wrapped beanName
getChild
public Component getChild()
- get the AWT component used to represent the wrapped bean.
getChangedProperties
public Vector getChangedProperties()
- get the properties changed at design time.
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