ItsNatElementComponent.java :  » Ajax » ItsNat » org » itsnat » comp » Java Open Source

Java Open Source » Ajax » ItsNat 
ItsNat » org » itsnat » comp » ItsNatElementComponent.java
/*
  ItsNat Java Web Application Framework
  Copyright (C) 2007 Innowhere Software Services S.L., Spanish Company
  Author: Jose Maria Arranz Santamaria

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version. See the GNU Affero General Public 
  License for more details. See the copy of the GNU Affero General Public License
  included in this program. If not, see <http://www.gnu.org/licenses/>.
*/

package org.itsnat.comp;

import org.itsnat.comp.ui.ItsNatElementComponentUI;
import org.w3c.dom.Element;

/**
 * Is the base interface which every DOM Element based component implements.
 *
 * <p>Current ItsNat implementation only defines DOM Element based components,
 * every component is attached to a single DOM Element object as parent.</p>
 *
 * @author Jose Maria Arranz Santamaria
 */
public interface ItsNatElementComponent extends ItsNatComponent
{
    /**
     * Returns the user interface manager of this component.
     *
     * @return the user interface manager.
     */    
    public ItsNatElementComponentUI getItsNatElementComponentUI();    
    
    /**
     * Returns the associated DOM element to this component.
     *
     * @return the associated DOM element.
     * @see #getNode()
     */    
    public Element getElement();    
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.