Package org.jdesktop.swingx.plaf.basic
Class BasicLoginPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.jdesktop.swingx.plaf.LoginPaneUI
-
- org.jdesktop.swingx.plaf.basic.BasicLoginPaneUI
-
public class BasicLoginPaneUI extends LoginPaneUI
Base implementation of theJXLoginPane
UI.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
BasicLoginPaneUI.LocaleHandler
-
Field Summary
Fields Modifier and Type Field Description private JXLoginPane
dlg
-
Constructor Summary
Constructors Constructor Description BasicLoginPaneUI(JXLoginPane dlg)
Creates a new instance of BasicLoginDialogUI
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
java.awt.Image
getBanner()
Creates default 400x60 banner for the login panel.protected void
installDefaults()
void
installUI(javax.swing.JComponent c)
-
-
-
Field Detail
-
dlg
private JXLoginPane dlg
-
-
Constructor Detail
-
BasicLoginPaneUI
public BasicLoginPaneUI(JXLoginPane dlg)
Creates a new instance of BasicLoginDialogUI
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in classjavax.swing.plaf.ComponentUI
-
installDefaults
protected void installDefaults()
-
getBanner
public java.awt.Image getBanner()
Creates default 400x60 banner for the login panel.- Specified by:
getBanner
in classLoginPaneUI
- Returns:
- The Image to use as the banner for the JXLoginPane. If this method returns null, then no banner will be shown.
- See Also:
LoginPaneUI.getBanner()
-
-