|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentListener
Component listener interface.
Nested Class Summary | |
---|---|
static class |
ComponentListener.Adapter
Component listener adapter. |
Method Summary | |
---|---|
void |
cursorChanged(Component component,
Cursor previousCursor)
Called when a component's cursor has changed. |
void |
dragSourceChanged(Component component,
DragSource previousDragSource)
Called when a component's drag source has changed. |
void |
dropTargetChanged(Component component,
DropTarget previousDropTarget)
Called when a component's drop target has changed. |
void |
locationChanged(Component component,
int previousX,
int previousY)
Called when a component's location has changed. |
void |
menuHandlerChanged(Component component,
MenuHandler previousMenuHandler)
Called when a component's context menu handler has changed. |
void |
parentChanged(Component component,
Container previousParent)
Called when a component's parent has changed (when the component is either added to or removed from a container). |
void |
preferredHeightLimitsChanged(Component component,
int previousMinimumPreferredHeight,
int previousMaximumPreferredHeight)
Called when a component's preferred height limits have changed. |
void |
preferredSizeChanged(Component component,
int previousPreferredWidth,
int previousPreferredHeight)
Called when a component's preferred size has changed. |
void |
preferredWidthLimitsChanged(Component component,
int previousMinimumPreferredWidth,
int previousMaximumPreferredWidth)
Called when a component's preferred width limits have changed. |
void |
sizeChanged(Component component,
int previousWidth,
int previousHeight)
Called when a component's size has changed. |
void |
styleUpdated(Component component,
String styleKey,
Object previousValue)
Called when a component style has been updated. |
void |
tooltipTextChanged(Component component,
String previousTooltipText)
Called when a component's tooltip text has changed. |
void |
visibleChanged(Component component)
Called when a component's visible flag has changed. |
Method Detail |
---|
void parentChanged(Component component, Container previousParent)
component
- previousParent
- void sizeChanged(Component component, int previousWidth, int previousHeight)
component
- previousWidth
- previousHeight
- void preferredSizeChanged(Component component, int previousPreferredWidth, int previousPreferredHeight)
component
- previousPreferredWidth
- previousPreferredHeight
- void preferredWidthLimitsChanged(Component component, int previousMinimumPreferredWidth, int previousMaximumPreferredWidth)
component
- previousMinimumPreferredWidth
- previousMaximumPreferredWidth
- void preferredHeightLimitsChanged(Component component, int previousMinimumPreferredHeight, int previousMaximumPreferredHeight)
component
- previousMinimumPreferredHeight
- previousMaximumPreferredHeight
- void locationChanged(Component component, int previousX, int previousY)
component
- previousX
- previousY
- void visibleChanged(Component component)
component
- void styleUpdated(Component component, String styleKey, Object previousValue)
component
- styleKey
- previousValue
- void cursorChanged(Component component, Cursor previousCursor)
component
- previousCursor
- void tooltipTextChanged(Component component, String previousTooltipText)
component
- previousTooltipText
- void dragSourceChanged(Component component, DragSource previousDragSource)
component
- previousDragSource
- void dropTargetChanged(Component component, DropTarget previousDropTarget)
component
- previousDropTarget
- void menuHandlerChanged(Component component, MenuHandler previousMenuHandler)
component
- previousMenuHandler
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |