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()
GroupgetChildren in interface Grouppublic ItemPresentation getPresentation()
GroupgetPresentation in interface Grouppublic javax.swing.Icon getIcon(boolean open)
ItemPresentationgetIcon in interface ItemPresentationopen - 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()
ItemPresentationgetLocationString in interface ItemPresentationpublic java.lang.String getPresentableText()
ItemPresentationgetPresentableText in interface ItemPresentationpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int getAccessLevel()
getAccessLevel in interface AccessLevelProviderpublic int getSubLevel()
getSubLevel in interface AccessLevelProviderpublic 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()
ColoredItemPresentationgetTextAttributesKey in interface ColoredItemPresentationpublic boolean isComplete()
public java.lang.Object getValue()
public int getWeight()
getWeight in interface WeighedItem