站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

MemberElement.Impl (NetBeans Java Hierarchy API) - NetBeans API Javadoc 4.1.0

 

org.openide.src
Interface MemberElement.Impl

All Superinterfaces:
Element.Impl, Serializable
All Known Subinterfaces:
ClassElement.Impl, ConstructorElement.Impl, FieldElement.Impl, MethodElement.Impl
Enclosing interface:
MemberElement

public static interface MemberElement.Impl
extends Element.Impl

Pluggable implementation of member elements.

See Also:
MemberElement

Field Summary
static long serialVersionUID
          Deprecated. Only public by accident.
 
Method Summary
 int getModifiers()
          Get the modifier flags for this element.
 Identifier getName()
          Get the name of this member.
 void setModifiers(int mod)
          Set the modifier flags for this element.
 void setName(Identifier name)
          Set the name of this member.
 
Methods inherited from interface org.openide.src.Element.Impl
addPropertyChangeListener, attachedToElement, getCookie, markCurrent, readResolve, removePropertyChangeListener
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Deprecated. Only public by accident.

See Also:
Constant Field Values
Method Detail

getModifiers

public int getModifiers()
Get the modifier flags for this element. Constrained by MemberElement.getModifiersMask().

Returns:
disjunction of constants from Modifier

setModifiers

public void setModifiers(int mod)
                  throws SourceException
Set the modifier flags for this element.

Parameters:
mod - disjunction of constants from Modifier
Throws:
SourceException - if impossible (e.g. if mod & ~ memberElt.getModifiersMask() != 0)

getName

public Identifier getName()
Get the name of this member.

Returns:
the name

setName

public void setName(Identifier name)
             throws SourceException
Set the name of this member.

Parameters:
name - the name
Throws:
SourceException - if impossible

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.