|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<C>
com.sibvisions.rad.ui.awt.impl.AwtComponent<C>
C - AWT Component implementationpublic class AwtComponent<C extends java.awt.Component>
A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.
| Field Summary | |
|---|---|
protected boolean |
bComponentListener
whether the component listener was added. |
protected boolean |
bFocusListener
whether the focus listener was added. |
protected boolean |
bKeyListener
whether the key listener was added. |
protected boolean |
bMouseListener
whether the mouse listener was added. |
protected ComponentHandler<IComponentMovedListener> |
eventComponentMoved
EventHandler for componentMoved. |
protected ComponentHandler<IComponentResizedListener> |
eventComponentResized
EventHandler for componentResized. |
protected KeyHandler<IKeyPressedListener> |
eventKeyPressed
EventHandler for keyPressed. |
protected KeyHandler<IKeyReleasedListener> |
eventKeyReleased
EventHandler for keyReleased. |
protected KeyHandler<IKeyTypedListener> |
eventKeyTyped
EventHandler for keyTyped. |
protected MouseHandler<IMouseClickedListener> |
eventMouseClicked
EventHandler for mouseClicked. |
protected MouseHandler<IMouseEnteredListener> |
eventMouseEntered
EventHandler for mouseEntered. |
protected MouseHandler<IMouseExitedListener> |
eventMouseExited
EventHandler for mouseExited. |
protected MouseHandler<IMousePressedListener> |
eventMousePressed
EventHandler for mouePressed. |
protected MouseHandler<IMouseReleasedListener> |
eventMouseReleased
EventHandler for mouseReleased. |
protected IComponent |
eventSource
The Event Source. |
protected IFactory |
factory
The factory that created this component. |
protected IContainer |
parent
Container where the component is added. |
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
resource |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
protected |
AwtComponent(C pComponent)
Create a new instance of AwtComponent. |
| Method Summary | |
|---|---|
protected void |
addComponentListener()
Adds a component listener for this component, if not already added. |
protected void |
addFocusListener()
Adds a component listener for this component, if not already added. |
protected void |
addKeyListener()
Adds a key listener for this component, if not already added. |
protected void |
addMouseListener()
Adds a mouse listener for this component, if not already added. |
IImage |
capture(int pWidth,
int pHeight)
Creates an image/screenshot of the component. |
void |
componentHidden(java.awt.event.ComponentEvent e)
|
void |
componentMoved(java.awt.event.ComponentEvent e)
|
void |
componentResized(java.awt.event.ComponentEvent e)
|
void |
componentShown(java.awt.event.ComponentEvent e)
|
protected java.awt.Image |
createImage(java.awt.Component pComponent,
int pWidth,
int pHeight)
Creates an image from a component. |
protected UIMouseEvent |
createMouseEvent(int pId,
java.awt.event.MouseEvent pMouseEvent)
Creates a UIMouseEvent with corrected location. |
boolean |
equals(java.lang.Object pObject)
|
ComponentHandler<IComponentMovedListener> |
eventComponentMoved()
The ComponentHandler for the moved event. |
ComponentHandler<IComponentResizedListener> |
eventComponentResized()
The ComponentHandler for the resized event. |
FocusHandler<IFocusGainedListener> |
eventFocusGained()
The FocusHandler for the focus gained event. |
FocusHandler<IFocusLostListener> |
eventFocusLost()
The FocusHandler for the focus lost event. |
KeyHandler<IKeyPressedListener> |
eventKeyPressed()
The EventHandler for the key pressed event. |
KeyHandler<IKeyReleasedListener> |
eventKeyReleased()
The EventHandler for the key released event. |
KeyHandler<IKeyTypedListener> |
eventKeyTyped()
The EventHandler for the key typed event. |
MouseHandler<IMouseClickedListener> |
eventMouseClicked()
The EventHandler for the mouse clicked event. |
MouseHandler<IMouseEnteredListener> |
eventMouseEntered()
The EventHandler for the mouse entered event. |
MouseHandler<IMouseExitedListener> |
eventMouseExited()
The EventHandler for the mouse exited event. |
MouseHandler<IMousePressedListener> |
eventMousePressed()
The EventHandler for the mouse pressed event. |
MouseHandler<IMouseReleasedListener> |
eventMouseReleased()
The EventHandler for the mouse released event. |
void |
focusGained(java.awt.event.FocusEvent e)
|
void |
focusLost(java.awt.event.FocusEvent e)
|
IColor |
getBackground()
Gets the background color of this component. |
IRectangle |
getBounds()
Gets the bounds of this component in the form of a IRectangle object. |
ICursor |
getCursor()
Gets the ICursor set in the component. |
IComponent |
getEventSource()
Gets the wanted event source for this component. |
IFactory |
getFactory()
Gets the factory that created this NamedObject. |
IFont |
getFont()
Gets the font of this component. |
IColor |
getForeground()
Gets the foreground color of this component. |
int |
getHorizontalAlignment()
Returns the alignment along the x axis. |
IPoint |
getLocation()
Gets the location of this component in the form of a point specifying the component's top-left corner. |
IPoint |
getLocationRelativeTo(IComponent pComponent)
Gets the location relative to the given component. |
IDimension |
getMaximumSize()
Gets the maximum size of this component. |
IDimension |
getMinimumSize()
Gets the mininimum size of this component. |
java.lang.String |
getName()
Gets the name of the object. |
IContainer |
getParent()
Gets the parent of this component. |
IDimension |
getPreferredSize()
Gets the preferred size of this component. |
IDimension |
getSize()
Returns the size of this component in the form of a IDimension object. |
Style |
getStyle()
Gets the style definition. |
java.lang.Integer |
getTabIndex()
Returns the desired tab index. |
java.lang.String |
getToolTipText()
Returns the tooltip string that has been set with setToolTipText. |
int |
getVerticalAlignment()
Returns the alignment along the y axis. |
int |
hashCode()
|
void |
invalidateLayout()
If container is already invalid, the layout is no longer informed about new calculation. |
boolean |
isBackgroundSet()
Returns whether the background color has been explicitly set for this Component. |
boolean |
isCursorSet()
Returns whether the cursor has been explicitly set for this Component. |
boolean |
isEnabled()
Determines whether this component is enabled. |
boolean |
isFocusable()
Returns whether this component can be focused. |
boolean |
isFontSet()
Returns whether the font has been explicitly set for this Component. |
boolean |
isForegroundSet()
Returns whether the foreground color has been explicitly set for this Component. |
boolean |
isMaximumSizeSet()
Returns true if the maximum size has been set to a non- null
value otherwise returns false. |
boolean |
isMinimumSizeSet()
Returns whether or not setMinimumSize has been
invoked with a non-null value. |
boolean |
isPreferredSizeSet()
Returns true if the preferred size has been set to a non- null value otherwise returns false. |
boolean |
isVisible()
Determines whether this component should be visible when its parent is visible. |
void |
keyPressed(java.awt.event.KeyEvent pKeyEvent)
|
void |
keyReleased(java.awt.event.KeyEvent pKeyEvent)
|
void |
keyTyped(java.awt.event.KeyEvent pKeyEvent)
|
void |
mouseClicked(java.awt.event.MouseEvent pMouseEvent)
|
void |
mouseEntered(java.awt.event.MouseEvent pMouseEvent)
|
void |
mouseExited(java.awt.event.MouseEvent pMouseEvent)
|
void |
mousePressed(java.awt.event.MouseEvent pMouseEvent)
|
void |
mouseReleased(java.awt.event.MouseEvent pMouseEvent)
|
void |
requestFocus()
Requests that this Component get the input focus, and that this Component's top-level ancestor become the focused Window. |
void |
setBackground(IColor pBackground)
Sets the background color of this component. |
void |
setBounds(IRectangle pBounds)
Moves and resizes this component to conform to the new bounding rectangle pBounds. |
void |
setCursor(ICursor pCursor)
Sets the cursor image to the specified cursor. |
void |
setEnabled(boolean pEnable)
Enables or disables this component, depending on the value of the parameter pEnable. |
void |
setEventSource(IComponent pEventSource)
Sets the wanted event source for this component. |
void |
setFactory(IFactory pFactory)
Sets the components factory implementation. |
void |
setFocusable(boolean pFocusable)
Sets the focusable state of this component to the specified value. |
void |
setFont(IFont pFont)
Sets the IFont of this component. |
void |
setForeground(IColor pForeground)
Sets the foreground color of this component. |
void |
setHorizontalAlignment(int pHorizontalAlignment)
Sets the horizontal alignment. |
void |
setLocation(IPoint pLocation)
Moves this component to a new location. |
void |
setLocationRelativeTo(IComponent pComponent,
IPoint pLocation)
Sets the location relative to the given component. |
void |
setMaximumSize(IDimension pMaximumSize)
Sets the maximum size of this component to a constant value. |
void |
setMinimumSize(IDimension pMinimumSize)
Sets the minimum size of this component to a constant value. |
void |
setName(java.lang.String pName)
Sets the name of the object to the specified string. |
void |
setParent(IContainer pParent)
Sets the parent of this component. |
void |
setPreferredSize(IDimension pPreferredSize)
Sets the preferred size of this component to a constant value. |
void |
setSize(IDimension pSize)
Resizes this component so that it has width d.width
and height d.height. |
void |
setStyle(Style pStyle)
Sets the style definition. |
void |
setTabIndex(java.lang.Integer pTabIndex)
Sets the desired tab index. |
void |
setToolTipText(java.lang.String pText)
Registers the text to display in a tool tip. |
void |
setVerticalAlignment(int pVerticalAlignment)
Sets the vertical alignment. |
void |
setVisible(boolean pVisible)
Shows or hides this component depending on the value of parameter b. |
void |
validate(java.awt.Component pComponent)
Layouts the component. |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
getResource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Field Detail |
|---|
protected IContainer parent
protected IFactory factory
protected IComponent eventSource
protected MouseHandler<IMousePressedListener> eventMousePressed
protected MouseHandler<IMouseReleasedListener> eventMouseReleased
protected MouseHandler<IMouseClickedListener> eventMouseClicked
protected MouseHandler<IMouseEnteredListener> eventMouseEntered
protected MouseHandler<IMouseExitedListener> eventMouseExited
protected KeyHandler<IKeyPressedListener> eventKeyPressed
protected KeyHandler<IKeyReleasedListener> eventKeyReleased
protected KeyHandler<IKeyTypedListener> eventKeyTyped
protected ComponentHandler<IComponentMovedListener> eventComponentMoved
protected ComponentHandler<IComponentResizedListener> eventComponentResized
protected boolean bMouseListener
protected boolean bKeyListener
protected boolean bComponentListener
protected boolean bFocusListener
| Constructor Detail |
|---|
protected AwtComponent(C pComponent)
AwtComponent.
pComponent - AWT Component implementation.| Method Detail |
|---|
public java.lang.String getName()
null.
getName in interface IComponentgetName in interface INamedObjectIComponent.setName(java.lang.String)public void setName(java.lang.String pName)
setName in interface IComponentsetName in interface INamedObjectpName - the string that is to be this
component's nameIComponent.getName()public IFactory getFactory()
getFactory in interface IComponentpublic int getHorizontalAlignment()
getHorizontalAlignment in interface IAlignmentConstantspublic void setHorizontalAlignment(int pHorizontalAlignment)
setHorizontalAlignment in interface IAlignmentConstantspHorizontalAlignment - the new vertical alignmentpublic int getVerticalAlignment()
getVerticalAlignment in interface IAlignmentConstantspublic void setVerticalAlignment(int pVerticalAlignment)
setVerticalAlignment in interface IAlignmentConstantspVerticalAlignment - the new vertical alignmentpublic IDimension getPreferredSize()
getPreferredSize in interface IComponentIDimension object indicating this component's preferred sizeIComponent.getMinimumSize(),
LayoutManagerpublic void setPreferredSize(IDimension pPreferredSize)
getPreferredSize will always
return this value. Setting the preferred size to null
restores the default behavior.
setPreferredSize in interface IComponentpPreferredSize - the new preferred size, or nullIComponent.getPreferredSize(),
IComponent.isPreferredSizeSet()public boolean isPreferredSizeSet()
null value otherwise returns false.
isPreferredSizeSet in interface IComponentsetPreferredSize has been invoked
with a non-null value.public IDimension getMinimumSize()
getMinimumSize in interface IComponentIDimension object indicating this component's minimum sizeIComponent.getPreferredSize(),
LayoutManagerpublic void setMinimumSize(IDimension pMinimumSize)
getMinimumSize will always
return this value. Setting the minimum size to null
restores the default behavior.
setMinimumSize in interface IComponentpMinimumSize - the new minimum size of this componentIComponent.getMinimumSize(),
IComponent.isMinimumSizeSet()public boolean isMinimumSizeSet()
setMinimumSize has been
invoked with a non-null value.
isMinimumSizeSet in interface IComponentsetMinimumSize has been invoked with a
non-null value.public IDimension getMaximumSize()
getMaximumSize in interface IComponentIDimension object indicating this component's maximum sizeIComponent.getMinimumSize(),
IComponent.getPreferredSize(),
LayoutManagerpublic void setMaximumSize(IDimension pMaximumSize)
getMaximumSize will always
return this value. Setting the maximum size to null
restores the default behavior.
setMaximumSize in interface IComponentpMaximumSize - a IDimension containing the
desired maximum allowable sizeIComponent.getMaximumSize(),
IComponent.isMaximumSizeSet()public boolean isMaximumSizeSet()
null
value otherwise returns false.
isMaximumSizeSet in interface IComponentmaximumSize is non-null,
false otherwisepublic IColor getBackground()
getBackground in interface IComponentIComponent.setBackground(javax.rad.ui.IColor)public void setBackground(IColor pBackground)
The background color affects each component differently and the parts of the component that are affected by the background color may differ between operating systems.
setBackground in interface IComponentpBackground - the color to become this component's color;
if this parameter is null, then this
component will inherit the background color of its parentIComponent.getBackground()public boolean isBackgroundSet()
false, this Component is
inheriting its background color from an ancestor.
isBackgroundSet in interface IComponenttrue if the background color has been explicitly
set for this Component; false otherwise.public IColor getForeground()
getForeground in interface IComponentIComponent.setForeground(javax.rad.ui.IColor)public void setForeground(IColor pForeground)
setForeground in interface IComponentpForeground - the color to become this component's
foreground color; if this parameter is null
then this component will inherit the foreground color of
its parentIComponent.getForeground()public boolean isForegroundSet()
false, this Component is
inheriting its foreground color from an ancestor.
isForegroundSet in interface IComponenttrue if the foreground color has been explicitly
set for this Component; false otherwise.public ICursor getCursor()
ICursor set in the component. If the component does
not have a cursor set, the cursor of its parent is returned.
If no cursor is set in the entire hierarchy,
Cursor.DEFAULT_CURSOR is returned.
getCursor in interface IComponentICursor set in the componentIComponent.setCursor(javax.rad.ui.ICursor)public void setCursor(ICursor pCursor)
contains method for
this component returns true for the current cursor location, and
this Component is visible, displayable, and enabled. Setting the
cursor of a Container causes that cursor to be displayed
within all of the container's subcomponents, except for those
that have a non-null cursor.
The method may have no visual effect if the Java platform implementation and/or the native system do not support changing the mouse cursor shape.
setCursor in interface IComponentpCursor - One of the constants defined by the Cursor
class; if this parameter is null then this component
will inherit the cursor of its parentIComponent.isEnabled(),
IComponent.getCursor(),
Toolkit.createCustomCursor(java.awt.Image, java.awt.Point, java.lang.String),
ICursorpublic boolean isCursorSet()
false, this Component is inheriting
its cursor from an ancestor.
isCursorSet in interface IComponenttrue if the cursor has been explicitly set for this
Component; false otherwise.public IFont getFont()
getFont in interface IComponentIComponent.setFont(javax.rad.ui.IFont)public void setFont(IFont pFont)
IFont of this component.
setFont in interface IComponentpFont - the IFont to become this component's font;
if this parameter is null then this
component will inherit the font of its parentIComponent.getFont()public boolean isFontSet()
false, this Component is inheriting its
font from an ancestor.
isFontSet in interface IComponenttrue if the font has been explicitly set for this
Component; false otherwise.public java.lang.String getToolTipText()
setToolTipText.
getToolTipText in interface IComponentIComponent.setToolTipText(String)public void setToolTipText(java.lang.String pText)
setToolTipText in interface IComponentpText - the string to display; if the text is null,
the tool tip is turned off for this componentpublic void setFocusable(boolean pFocusable)
setFocusable in interface IComponentpFocusable - indicates whether this Component is focusablepublic boolean isFocusable()
isFocusable in interface IComponenttrue if this Component is focusable,
false otherwise.public java.lang.Integer getTabIndex()
getTabIndex in interface IComponentpublic void setTabIndex(java.lang.Integer pTabIndex)
setTabIndex in interface IComponentpTabIndex - the desired tab index.public void requestFocus()
This method cannot be used to set the focus owner to no Component at
all. Use KeyboardFocusManager.clearGlobalFocusOwner()
instead.
Because the focus behavior of this method is platform-dependent,
developers are strongly encouraged to use
requestFocusInWindow when possible.
requestFocus in interface IComponentpublic IContainer getParent()
getParent in interface IComponentpublic void setParent(IContainer pParent)
setParent in interface IComponentpParent - the parent container of this componentpublic boolean isVisible()
Frame objects.
isVisible in interface IComponenttrue if the component is visible,
false otherwiseIComponent.setVisible(boolean)public void setVisible(boolean pVisible)
b.
setVisible in interface IComponentpVisible - if true, shows this component; otherwise,
hides this componentIComponent.isVisible()public boolean isEnabled()
setEnabled method.
isEnabled in interface IComponenttrue if the component is enabled, false otherwiseIComponent.setEnabled(boolean)public void setEnabled(boolean pEnable)
pEnable. An enabled component can respond to user
input and generate events. Components are enabled initially by default.
setEnabled in interface IComponentpEnable - if true, this component is
enabled; otherwise this component is disabledIComponent.isEnabled()public IPoint getLocationRelativeTo(IComponent pComponent)
getLocationRelativeTo in interface IComponentpComponent - the component in relation to which the window's location is determined.
public void setLocationRelativeTo(IComponent pComponent,
IPoint pLocation)
setLocationRelativeTo in interface IComponentpComponent - the component in relation to which the window's location is determined.pLocation - the location.public IPoint getLocation()
Due to the asynchronous nature of native event handling, this
method can return outdated values (for instance, after several calls
of setLocation() in rapid succession). For this
reason, the recommended method of obtaining a component's position is
within java.awt.event.ComponentListener.componentMoved(),
which is called after the operating system has finished moving the
component.
getLocation in interface IComponentIPoint representing
the top-left corner of the component's bounds in
the coordinate space of the component's parentIComponent.setLocation(IPoint)public void setLocation(IPoint pLocation)
p. Point
p is given in the parent's coordinate space.
setLocation in interface IComponentpLocation - the point defining the top-left corner
of the new location, given in the coordinate space of this
component's parentIComponent.getLocation(),
IComponent.setBounds(IRectangle)public IDimension getSize()
IDimension object. The height
field of the IDimension object contains
this component's height, and the width
field of the IDimension object contains
this component's width.
getSize in interface IComponentIDimension object that indicates the
size of this componentIComponent.setSize(javax.rad.ui.IDimension)public void setSize(IDimension pSize)
d.width
and height d.height.
setSize in interface IComponentpSize - the IDimension specifying the new size
of this componentIComponent.setSize(javax.rad.ui.IDimension),
IComponent.setBounds(javax.rad.ui.IRectangle)public IRectangle getBounds()
IRectangle object. The bounds specify this
component's width, height, and location relative to
its parent.
getBounds in interface IComponentIComponent.setBounds(javax.rad.ui.IRectangle),
IComponent.getLocation(),
IComponent.getSize()public void setBounds(IRectangle pBounds)
pBounds. This component's new
position is specified by pBounds.x and pBounds.y,
and its new size is specified by pBounds.width and
pBounds.height
setBounds in interface IComponentpBounds - the new bounding rectangle for this componentIComponent.getBounds(),
IComponent.setLocation(IPoint),
IComponent.setSize(IDimension)public IComponent getEventSource()
getEventSource in interface IComponentpublic void setEventSource(IComponent pEventSource)
setEventSource in interface IComponentpEventSource - the event sourcepublic void setStyle(Style pStyle)
setStyle in interface IComponentpStyle - the stylepublic Style getStyle()
getStyle in interface IComponentIComponent.setStyle(Style)public MouseHandler<IMousePressedListener> eventMousePressed()
eventMousePressed in interface IComponentpublic MouseHandler<IMouseReleasedListener> eventMouseReleased()
eventMouseReleased in interface IComponentpublic MouseHandler<IMouseClickedListener> eventMouseClicked()
eventMouseClicked in interface IComponentpublic MouseHandler<IMouseEnteredListener> eventMouseEntered()
eventMouseEntered in interface IComponentpublic MouseHandler<IMouseExitedListener> eventMouseExited()
eventMouseExited in interface IComponentpublic KeyHandler<IKeyPressedListener> eventKeyPressed()
eventKeyPressed in interface IComponentpublic KeyHandler<IKeyReleasedListener> eventKeyReleased()
eventKeyReleased in interface IComponentpublic KeyHandler<IKeyTypedListener> eventKeyTyped()
eventKeyTyped in interface IComponentpublic ComponentHandler<IComponentMovedListener> eventComponentMoved()
eventComponentMoved in interface IComponentpublic ComponentHandler<IComponentResizedListener> eventComponentResized()
eventComponentResized in interface IComponentpublic FocusHandler<IFocusGainedListener> eventFocusGained()
eventFocusGained in interface IComponentpublic FocusHandler<IFocusLostListener> eventFocusLost()
eventFocusLost in interface IComponent
public IImage capture(int pWidth,
int pHeight)
capture in interface IComponentpWidth - the expected widthpHeight - the expected height
public void mousePressed(java.awt.event.MouseEvent pMouseEvent)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent pMouseEvent)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseClicked(java.awt.event.MouseEvent pMouseEvent)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent pMouseEvent)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent pMouseEvent)
mouseExited in interface java.awt.event.MouseListenerpublic void keyPressed(java.awt.event.KeyEvent pKeyEvent)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent pKeyEvent)
keyReleased in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent pKeyEvent)
keyTyped in interface java.awt.event.KeyListenerpublic void componentHidden(java.awt.event.ComponentEvent e)
componentHidden in interface java.awt.event.ComponentListenerpublic void componentShown(java.awt.event.ComponentEvent e)
componentShown in interface java.awt.event.ComponentListenerpublic void componentMoved(java.awt.event.ComponentEvent e)
componentMoved in interface java.awt.event.ComponentListenerpublic void componentResized(java.awt.event.ComponentEvent e)
componentResized in interface java.awt.event.ComponentListenerpublic void focusGained(java.awt.event.FocusEvent e)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent e)
focusLost in interface java.awt.event.FocusListenerpublic boolean equals(java.lang.Object pObject)
equals in class AwtResource<C extends java.awt.Component>public int hashCode()
hashCode in class AwtResource<C extends java.awt.Component>
protected UIMouseEvent createMouseEvent(int pId,
java.awt.event.MouseEvent pMouseEvent)
pId - the new mouse event id.pMouseEvent - plattform dependent mouse event.
public void setFactory(IFactory pFactory)
pFactory - the IFactoryAwtFactoryprotected void addMouseListener()
protected void addKeyListener()
protected void addComponentListener()
protected void addFocusListener()
public void invalidateLayout()
public void validate(java.awt.Component pComponent)
pComponent - the component.
protected java.awt.Image createImage(java.awt.Component pComponent,
int pWidth,
int pHeight)
pComponent - the componentpWidth - the expected image widthpHeight - the expected image height
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||