|
||||||||||
| 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 |
heightLimitsChanged(Component component,
int previousMinimumHeight,
int previousMaximumHeight)
Called when a component's preferred height limits have 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 |
nameChanged(Component component,
String previousName)
Called when a component's name 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 |
preferredSizeChanged(Component component,
int previousPreferredWidth,
int previousPreferredHeight)
Called when a component's preferred size has changed. |
void |
sizeChanged(Component component,
int previousWidth,
int previousHeight)
Called when a component's size has changed. |
void |
tooltipDelayChanged(Component component,
int previousTooltipDelay)
Called when a component's tooltip delay has changed. |
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. |
void |
widthLimitsChanged(Component component,
int previousMinimumWidth,
int previousMaximumWidth)
Called when a component's preferred width limits have 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 widthLimitsChanged(Component component,
int previousMinimumWidth,
int previousMaximumWidth)
component - previousMinimumWidth - previousMaximumWidth -
void heightLimitsChanged(Component component,
int previousMinimumHeight,
int previousMaximumHeight)
component - previousMinimumHeight - previousMaximumHeight -
void locationChanged(Component component,
int previousX,
int previousY)
component - previousX - previousY - void visibleChanged(Component component)
component -
void cursorChanged(Component component,
Cursor previousCursor)
component - previousCursor -
void tooltipTextChanged(Component component,
String previousTooltipText)
component - previousTooltipText -
void tooltipDelayChanged(Component component,
int previousTooltipDelay)
component - previousTooltipDelay -
void dragSourceChanged(Component component,
DragSource previousDragSource)
component - previousDragSource -
void dropTargetChanged(Component component,
DropTarget previousDropTarget)
component - previousDropTarget -
void menuHandlerChanged(Component component,
MenuHandler previousMenuHandler)
component - previousMenuHandler -
void nameChanged(Component component,
String previousName)
component - previousName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||