|
||||||||||
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.ResizableTextLabel.ResizableAdapter
protected class ResizableTextLabel.ResizableAdapter
Helper class that notifies the resizable text label to resize its font when itself is being resized.
ComponentAdapter
Constructor Summary | |
---|---|
protected |
ResizableTextLabel.ResizableAdapter()
|
Method Summary | |
---|---|
void |
componentResized(java.awt.event.ComponentEvent e)
Invoked when the label is being 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 ResizableTextLabel.ResizableAdapter()
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 |