public class PropertyGroup extends java.lang.Object implements Group, ColoredItemPresentation, AccessLevelProvider, WeighedItem
Modifier and Type | Field and Description |
---|---|
static javax.swing.Icon |
PROPERTY_READ_ICON |
static javax.swing.Icon |
PROPERTY_READ_STATIC_ICON |
static javax.swing.Icon |
PROPERTY_READ_WRITE_ICON |
static javax.swing.Icon |
PROPERTY_READ_WRITE_STATIC_ICON |
static javax.swing.Icon |
PROPERTY_WRITE_ICON |
static javax.swing.Icon |
PROPERTY_WRITE_STATIC_ICON |
Modifier and Type | Method and Description |
---|---|
static PropertyGroup |
createOn(PsiElement object,
TreeElement treeElement) |
boolean |
equals(java.lang.Object o) |
int |
getAccessLevel() |
java.util.Collection<TreeElement> |
getChildren()
Returns the list of nodes in the group.
|
PsiField |
getField() |
PsiMethod |
getGetter() |
javax.swing.Icon |
getIcon(boolean open)
Returns the icon representing the object.
|
java.lang.String |
getLocationString()
Returns the location of the object (for example, the package of a class).
|
java.lang.String |
getPresentableText()
Returns the name of the object to be presented in most renderers across the program.
|
ItemPresentation |
getPresentation()
Returns the presentation information for the group.
|
PsiMethod |
getSetter() |
int |
getSubLevel() |
TextAttributesKey |
getTextAttributesKey()
Returns the text attributes for rendering the item text.
|
java.lang.Object |
getValue() |
int |
getWeight() |
int |
hashCode() |
boolean |
isComplete() |
void |
setField(PsiField field) |
void |
setGetter(PsiMethod getter) |
void |
setSetter(PsiMethod setter) |
java.lang.String |
toString() |
public static final javax.swing.Icon PROPERTY_READ_ICON
public static final javax.swing.Icon PROPERTY_READ_STATIC_ICON
public static final javax.swing.Icon PROPERTY_WRITE_ICON
public static final javax.swing.Icon PROPERTY_WRITE_STATIC_ICON
public static final javax.swing.Icon PROPERTY_READ_WRITE_ICON
public static final javax.swing.Icon PROPERTY_READ_WRITE_STATIC_ICON
public static PropertyGroup createOn(PsiElement object, TreeElement treeElement)
public java.util.Collection<TreeElement> getChildren()
Group
getChildren
in interface Group
public ItemPresentation getPresentation()
Group
getPresentation
in interface Group
public javax.swing.Icon getIcon(boolean open)
ItemPresentation
getIcon
in interface ItemPresentation
open
- Used to mean if open/close icons for tree renderer. No longer in use. The parameter is only there for API compatibility reason.public java.lang.String getLocationString()
ItemPresentation
getLocationString
in interface ItemPresentation
public java.lang.String getPresentableText()
ItemPresentation
getPresentableText
in interface ItemPresentation
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getAccessLevel()
getAccessLevel
in interface AccessLevelProvider
public int getSubLevel()
getSubLevel
in interface AccessLevelProvider
public void setField(PsiField field)
public void setGetter(PsiMethod getter)
public void setSetter(PsiMethod setter)
public PsiField getField()
public PsiMethod getGetter()
public PsiMethod getSetter()
public TextAttributesKey getTextAttributesKey()
ColoredItemPresentation
getTextAttributesKey
in interface ColoredItemPresentation
public boolean isComplete()
public java.lang.Object getValue()
public int getWeight()
getWeight
in interface WeighedItem