1*34dd1e25SAndrew Rist /**************************************************************
2*34dd1e25SAndrew Rist  *
3*34dd1e25SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*34dd1e25SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*34dd1e25SAndrew Rist  * distributed with this work for additional information
6*34dd1e25SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*34dd1e25SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*34dd1e25SAndrew Rist  * "License"); you may not use this file except in compliance
9*34dd1e25SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*34dd1e25SAndrew Rist  *
11*34dd1e25SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*34dd1e25SAndrew Rist  *
13*34dd1e25SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*34dd1e25SAndrew Rist  * software distributed under the License is distributed on an
15*34dd1e25SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*34dd1e25SAndrew Rist  * KIND, either express or implied.  See the License for the
17*34dd1e25SAndrew Rist  * specific language governing permissions and limitations
18*34dd1e25SAndrew Rist  * under the License.
19*34dd1e25SAndrew Rist  *
20*34dd1e25SAndrew Rist  *************************************************************/
21*34dd1e25SAndrew Rist 
22cdf0e10cSrcweir import com.sun.star.uno.Type;
23*34dd1e25SAndrew Rist 
24cdf0e10cSrcweir 
25cdf0e10cSrcweir 
26cdf0e10cSrcweir public interface XUnoNode {
27cdf0e10cSrcweir 
28cdf0e10cSrcweir     public static final int nINTERFACE = 1;
29cdf0e10cSrcweir     public static final int nSERVICE = 2;
30cdf0e10cSrcweir     public static final int nOTHERS = 3;
31cdf0e10cSrcweir 
getAnchor()32cdf0e10cSrcweir     public String getAnchor();
33cdf0e10cSrcweir 
getClassName()34cdf0e10cSrcweir     public String getClassName();
35cdf0e10cSrcweir 
openIdlDescription(String _sIDLUrl)36cdf0e10cSrcweir     public void openIdlDescription(String _sIDLUrl);
37cdf0e10cSrcweir 
isFilterApplicable(String _sFilter)38cdf0e10cSrcweir     public boolean isFilterApplicable(String _sFilter);
39cdf0e10cSrcweir 
setVisible(String _sFilter)40cdf0e10cSrcweir     public void setVisible(String _sFilter);
41cdf0e10cSrcweir 
setParameterObjects(Object[] _oParamObjects)42cdf0e10cSrcweir     public void setParameterObjects(Object[] _oParamObjects);
43cdf0e10cSrcweir 
getParameterObjects()44cdf0e10cSrcweir     public Object[] getParameterObjects();
45cdf0e10cSrcweir 
getName()46cdf0e10cSrcweir     public String getName();
47cdf0e10cSrcweir 
setFoldable(boolean _bIsFoldable)48cdf0e10cSrcweir     public void setFoldable(boolean _bIsFoldable);
49cdf0e10cSrcweir 
getUnoObject()50cdf0e10cSrcweir     public Object getUnoObject();
51cdf0e10cSrcweir 
getParentNode()52cdf0e10cSrcweir     public XUnoNode getParentNode();
53cdf0e10cSrcweir 
addChildNode(XUnoNode _xUnoNode)54cdf0e10cSrcweir     public void addChildNode(XUnoNode _xUnoNode);
55cdf0e10cSrcweir 
setLabel(String _sLabel)56cdf0e10cSrcweir     public void  setLabel(String _sLabel);
57cdf0e10cSrcweir 
getLabel()58cdf0e10cSrcweir     public String getLabel();
59cdf0e10cSrcweir 
getChildCount()60cdf0e10cSrcweir     public int getChildCount();
61cdf0e10cSrcweir 
getChild(int _index)62cdf0e10cSrcweir     public XUnoNode getChild(int _index);
63cdf0e10cSrcweir 
getNodeType()64cdf0e10cSrcweir     public int getNodeType();
65cdf0e10cSrcweir 
66cdf0e10cSrcweir     // possible values are nINTERFACE, nSERVICE, nOTHERS
setNodeType(int _nNodeType)67cdf0e10cSrcweir     public void setNodeType(int _nNodeType);
68cdf0e10cSrcweir 
69cdf0e10cSrcweir     /** delivers only the Uno-Type when the NodeType is set to nINTERFACE
70cdf0e10cSrcweir      *  otherwise (when the NodeType has not been set returns null
71cdf0e10cSrcweir      */
getUnoType()72cdf0e10cSrcweir     public Type getUnoType();
73cdf0e10cSrcweir }
74