|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.event.ComponentAdapter com.cosylab.gui.components.ResizableTextField.ResizableComponentAdapter
protected class ResizableTextField.ResizableComponentAdapter
Listens for ComponentEvents and notifies text resizing if enabled.
Constructor Summary | |
---|---|
protected |
ResizableTextField.ResizableComponentAdapter()
|
Method Summary | |
---|---|
void |
componentResized(java.awt.event.ComponentEvent e)
Invokes text resizing if enabled when component is resized. |
void |
hierarchyChanged(java.awt.event.HierarchyEvent e)
Invoke resizing of the font when the hiearachy changes, because this action might as well change the size of the components, but the resize is not fired, because the component did not have parent prior to that. |
Methods inherited from class java.awt.event.ComponentAdapter |
---|
componentHidden, componentMoved, componentShown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ResizableTextField.ResizableComponentAdapter()
Method Detail |
---|
public void componentResized(java.awt.event.ComponentEvent e)
componentResized
in interface java.awt.event.ComponentListener
componentResized
in class java.awt.event.ComponentAdapter
e
- ComponentEventComponentListener.componentResized(ComponentEvent)
public void hierarchyChanged(java.awt.event.HierarchyEvent e)
hierarchyChanged
in interface java.awt.event.HierarchyListener
e
- the event describing the hierarchy change
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |