public class NavBarModel
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
|
NavBarModel(Project project) |
protected |
NavBarModel(Project project,
NavBarModelListener notificator,
NavBarModelBuilder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int index) |
protected java.util.List<java.lang.Object> |
getChildren(java.lang.Object object) |
java.lang.Object |
getElement(int index) |
int |
getIndexByModel(int index) |
int |
getSelectedIndex() |
java.lang.Object |
getSelectedValue() |
protected boolean |
hasChildren(java.lang.Object object) |
int |
indexOf(java.lang.Object value) |
boolean |
isEmpty() |
static PsiElement |
normalize(PsiElement child) |
void |
setChanged(boolean changed) |
void |
setFixedComponent(boolean fixedComponent) |
protected void |
setModel(java.util.List<java.lang.Object> model) |
protected void |
setModel(java.util.List<java.lang.Object> model,
boolean force) |
void |
setSelectedIndex(int selectedIndex) |
int |
size() |
protected void |
updateModel(DataContext dataContext) |
void |
updateModel(java.lang.Object object) |
protected void |
updateModel(PsiElement psiElement,
NavBarModelExtension ownerExtension) |
public NavBarModel(Project project)
protected NavBarModel(Project project, NavBarModelListener notificator, NavBarModelBuilder builder)
public int getSelectedIndex()
public java.lang.Object getSelectedValue()
public java.lang.Object getElement(int index)
public int size()
public boolean isEmpty()
public int getIndexByModel(int index)
protected void updateModel(DataContext dataContext)
protected void updateModel(PsiElement psiElement, NavBarModelExtension ownerExtension)
protected void setModel(java.util.List<java.lang.Object> model)
protected void setModel(java.util.List<java.lang.Object> model, boolean force)
public void updateModel(java.lang.Object object)
protected boolean hasChildren(java.lang.Object object)
public void setChanged(boolean changed)
public static PsiElement normalize(PsiElement child)
protected java.util.List<java.lang.Object> getChildren(java.lang.Object object)
public java.lang.Object get(int index)
public int indexOf(java.lang.Object value)
public void setSelectedIndex(int selectedIndex)
public void setFixedComponent(boolean fixedComponent)