KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > plaf > basic > BasicLabelUI

javax.swing.plaf.basic
Class BasicLabelUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.LabelUI
          extended by javax.swing.plaf.basic.BasicLabelUI
All Implemented Interfaces:
PropertyChangeListener, EventListener
Direct Known Subclasses:
MetalLabelUI
See Also:
Source Code

public BasicLabelUI()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ComponentUI createUI(JComponent c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getMaximumSize(JComponent c)
See Also:
LayoutManager2.maximumLayoutSize(java.awt.Container), JComponent.getMaximumSize(), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getMinimumSize(JComponent c)
See Also:
ComponentUI.getPreferredSize(javax.swing.JComponent), LayoutManager.minimumLayoutSize(java.awt.Container), JComponent.getMinimumSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getPreferredSize(JComponent c)
See Also:
LayoutManager.preferredLayoutSize(java.awt.Container), JComponent.getPreferredSize(), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installComponents(JLabel c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installDefaults(JLabel c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installKeyboardActions(JLabel l)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installListeners(JLabel c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void installUI(JComponent c)
See Also:
JComponent.updateUI(), JComponent.setUI(javax.swing.plaf.ComponentUI), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static BasicLabelUI labelUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String layoutCL(JLabel label,
                          FontMetrics fontMetrics,
                          String text,
                          Icon icon,
                          Rectangle viewR,
                          Rectangle iconR,
                          Rectangle textR)
See Also:
SwingUtilities.layoutCompoundLabel(javax.swing.JComponent, java.awt.FontMetrics, java.lang.String, javax.swing.Icon, int, int, int, int, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paint(Graphics g,
                  JComponent c)
See Also:
layoutCL(javax.swing.JLabel, java.awt.FontMetrics, java.lang.String, javax.swing.Icon, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle), paintDisabledText(javax.swing.JLabel, java.awt.Graphics, java.lang.String, int, int), paintEnabledText(javax.swing.JLabel, java.awt.Graphics, java.lang.String, int, int), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintDisabledText(JLabel l,
                                 Graphics g,
                                 String s,
                                 int textX,
                                 int textY)
See Also:
paintEnabledText(javax.swing.JLabel, java.awt.Graphics, java.lang.String, int, int), paint(java.awt.Graphics, javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintEnabledText(JLabel l,
                                Graphics g,
                                String s,
                                int textX,
                                int textY)
See Also:
paintDisabledText(javax.swing.JLabel, java.awt.Graphics, java.lang.String, int, int), paint(java.awt.Graphics, javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void propertyChange(PropertyChangeEvent e)
See Also:
PropertyChangeListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallComponents(JLabel c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallDefaults(JLabel c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallKeyboardActions(JLabel c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallListeners(JLabel c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void uninstallUI(JComponent c)
See Also:
JComponent.updateUI(), ComponentUI.installUI(javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags