|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--sun.beanbox.Wrapper
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
Wrapper(java.lang.Object bean,
java.lang.String beanLabel,
java.lang.String beanName)
|
Method Summary | |
void |
activate()
|
void |
deactivate()
|
void |
doLayout()
|
void |
doMouseStuff(java.awt.event.MouseEvent evt)
|
static Wrapper |
findWrapper(java.awt.Component comp)
Static method to map from an AWT component to the associated Wrapper. |
java.lang.String |
getAdderName(java.lang.String eventSetName)
|
java.lang.Object |
getBean()
get the wrapped bean. |
java.lang.String |
getBeanLabel()
get the wrapped beanName |
java.lang.String |
getBeanName()
get the wrapped beanName |
java.util.Vector |
getChangedProperties()
get the properties changed at design time. |
java.awt.Component |
getChild()
get the AWT component used to represent the wrapped bean. |
WrapperEventInfo[] |
getEventHookupInfo()
This will replace the bottom two |
java.awt.Dimension |
getPreferredSize()
|
java.lang.String |
getRemoverName(java.lang.String eventSetName)
|
boolean |
handleEvent(java.awt.Event evt)
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. |
boolean |
isFromPrototype()
get whether or not the target bean is from a serialized origin |
void |
mouseClicked(java.awt.event.MouseEvent evt)
|
void |
mouseDragged(java.awt.event.MouseEvent evt)
|
void |
mouseEntered(java.awt.event.MouseEvent evt)
|
void |
mouseExited(java.awt.event.MouseEvent evt)
|
void |
mouseMoved(java.awt.event.MouseEvent evt)
|
void |
mousePressed(java.awt.event.MouseEvent evt)
|
void |
mouseReleased(java.awt.event.MouseEvent evt)
|
void |
paint(java.awt.Graphics g)
|
void |
setActive(boolean isActive)
|
void |
setBounds(int x,
int y,
int width,
int height)
|
void |
setFromPrototype(boolean b)
set whether or not the target bean is from a serialized origin |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
paramString,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setCursor,
setFont,
setLayout,
update,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setComponentOrientation,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Wrapper(java.lang.Object bean, java.lang.String beanLabel, java.lang.String beanName)
Method Detail |
public java.lang.String getAdderName(java.lang.String eventSetName)
public java.lang.String getRemoverName(java.lang.String eventSetName)
public WrapperEventInfo[] getEventHookupInfo()
public void setFromPrototype(boolean b)
public boolean isFromPrototype()
public java.lang.Object getBean()
public java.lang.String getBeanLabel()
public java.lang.String getBeanName()
public java.awt.Component getChild()
public java.util.Vector getChangedProperties()
public static Wrapper findWrapper(java.awt.Component comp)
public void doLayout()
public void setActive(boolean isActive)
public java.awt.Dimension getPreferredSize()
public void setBounds(int x, int y, int width, int height)
public void paint(java.awt.Graphics g)
public void activate()
public void deactivate()
public void doMouseStuff(java.awt.event.MouseEvent evt)
public void mouseClicked(java.awt.event.MouseEvent evt)
public void mousePressed(java.awt.event.MouseEvent evt)
public void mouseReleased(java.awt.event.MouseEvent evt)
public void mouseEntered(java.awt.event.MouseEvent evt)
public void mouseExited(java.awt.event.MouseEvent evt)
public void mouseDragged(java.awt.event.MouseEvent evt)
public void mouseMoved(java.awt.event.MouseEvent evt)
public boolean handleEvent(java.awt.Event evt)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |