All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nilo.plaf.nimrod.NimRODPasswordFieldUI Maven / Gradle / Ivy

Go to download

NimROD Look and Feel is an extension of the Metal Look and Feel, so it should be a portable look and feel. This POM was contributed by Rob Manning and can be used to build this laf from the original source code if the source code is structured according to Maven conventions.

The newest version!
/*
 *                 (C) Copyright 2005 Nilo J. Gonzalez
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser Gereral Public Licence as published by the Free
 * Software Foundation; either version 2 of the Licence, or (at your opinion) any
 * later version.
 * 
 * This library is distributed in the hope that it will be usefull, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of merchantability or fitness for a
 * particular purpose. See the GNU Lesser General Public Licence for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public Licence along
 * with this library; if not, write to the Free Software Foundation, Inc., 59
 * Temple Place, Suite 330, Boston, Ma 02111-1307 USA.
 *
 * http://www.gnu.org/licenses/lgpl.html (English)
 * http://gugs.sindominio.net/gnu-gpl/lgpl-es.html (Espa?ol)
 *
 *
 * Original author: Nilo J. Gonzalez
 */


/**
 * Esta clase implementa los campos de password.
 * El trabajo de verdad lo hace NimRODPasswordView.
 * @see NimRODPasswordView
 * @author Nilo J. Gonzalez
 */ 
 
package com.nilo.plaf.nimrod;

import javax.swing.JComponent;
import javax.swing.plaf.ComponentUI;
import javax.swing.text.Element;
import javax.swing.text.View;


public class NimRODPasswordFieldUI extends NimRODTextFieldUI {
  public NimRODPasswordFieldUI( JComponent c) {
    super( c);
  }
  
	public static ComponentUI createUI( JComponent c) {
    return new NimRODPasswordFieldUI( c);
  }
  
  protected String getPropertyPrefix() {
    return "PasswordField";
  }


  public View create( Element elem) {
    return new NimRODPasswordView( elem);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy