01: /*
02: ItsNat Java Web Application Framework
03: Copyright (C) 2007 Innowhere Software Services S.L., Spanish Company
04: Author: Jose Maria Arranz Santamaria
05:
06: This program is free software: you can redistribute it and/or modify
07: it under the terms of the GNU Affero General Public License as published by
08: the Free Software Foundation, either version 3 of the License, or
09: (at your option) any later version. See the GNU Affero General Public
10: License for more details. See the copy of the GNU Affero General Public License
11: included in this program. If not, see <http://www.gnu.org/licenses/>.
12: */
13:
14: package org.itsnat.impl.comp.html.ui;
15:
16: import org.itsnat.comp.html.ItsNatHTMLElementComponent;
17: import org.itsnat.comp.html.ui.ItsNatHTMLElementComponentUI;
18: import org.itsnat.impl.comp.html.ItsNatHTMLElementComponentImpl;
19: import org.itsnat.impl.comp.html.ItsNatHTMLComponentManagerImpl;
20: import org.itsnat.impl.comp.ui.ItsNatElementComponentUIImpl;
21: import org.itsnat.impl.core.html.ItsNatHTMLDocumentImpl;
22: import org.w3c.dom.html.HTMLElement;
23:
24: /**
25: *
26: * @author jmarranz
27: */
28: public abstract class ItsNatHTMLElementComponentUIImpl extends
29: ItsNatElementComponentUIImpl implements
30: ItsNatHTMLElementComponentUI {
31:
32: /**
33: * Creates a new instance of ItsNatHTMLElementComponentUIImpl
34: */
35: public ItsNatHTMLElementComponentUIImpl(
36: ItsNatHTMLElementComponentImpl parentComp) {
37: super (parentComp);
38: }
39:
40: public ItsNatHTMLElementComponent getItsNatHTMLElementComponent() {
41: return (ItsNatHTMLElementComponent) parentComp;
42: }
43:
44: public ItsNatHTMLElementComponentImpl getItsNatHTMLElementComponentImpl() {
45: return (ItsNatHTMLElementComponentImpl) parentComp;
46: }
47:
48: public ItsNatHTMLComponentManagerImpl getItsNatHTMLComponentManagerImpl() {
49: return getItsNatHTMLElementComponentImpl()
50: .getItsNatHTMLComponentManagerImpl();
51: }
52:
53: public ItsNatHTMLDocumentImpl getItsNatHTMLDocumentImpl() {
54: return getItsNatHTMLComponentManagerImpl()
55: .getItsNatHTMLDocumentImpl();
56: }
57: }
|