org.knime.core.data.renderer
Class MultiLineBasicLabelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.LabelUI
javax.swing.plaf.basic.BasicLabelUI
org.knime.core.data.renderer.MultiLineBasicLabelUI
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class MultiLineBasicLabelUI
- extends BasicLabelUI
Label UI that respects the linebreaks in the label to be rendered. This
UI does not support an icon or respects in any kind the alignment of the
label.
- Author:
- Bernd Wiswedel, University of Konstanz
Methods inherited from class javax.swing.plaf.basic.BasicLabelUI |
createUI, getBaseline, getBaselineResizeBehavior, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, layoutCL, paintDisabledText, paintEnabledText, propertyChange, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiLineBasicLabelUI
public MultiLineBasicLabelUI()
getMaximumSize
public Dimension getMaximumSize(JComponent c)
- Delegates to
getPreferredSize(JComponent)
.
- Overrides:
getMaximumSize
in class BasicLabelUI
- See Also:
BasicLabelUI.getMaximumSize(JComponent)
getMinimumSize
public Dimension getMinimumSize(JComponent c)
- Delegates to
getPreferredSize(JComponent)
.
- Overrides:
getMinimumSize
in class BasicLabelUI
- See Also:
BasicLabelUI.getMinimumSize(JComponent)
getPreferredSize
public Dimension getPreferredSize(JComponent c)
-
- Overrides:
getPreferredSize
in class BasicLabelUI
paint
public void paint(Graphics g,
JComponent c)
-
- Overrides:
paint
in class BasicLabelUI
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.