|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.ViewGroupMixIn
public abstract class ViewGroupMixIn
Implements ViewGroup
to be used as a "mix-in".
Not meant for a consumption from outside ViewGroup
s.
private String primaryView; private CopyOnWriteArrayList<View> views; private ViewsTabBar viewsTabBar;
private transient ViewGroupMixIn = new ViewGroupMixIn() { List<View> views() { return views; } ... }
ItemGroupMixIn
Constructor Summary | |
---|---|
protected |
ViewGroupMixIn(ViewGroup owner)
|
Method Summary | |
---|---|
void |
addView(View v)
|
boolean |
canDelete(View view)
|
void |
deleteView(View view)
|
View |
getPrimaryView()
Returns the primary View that renders the top-page of Hudson. |
View |
getView(String name)
|
Collection<View> |
getViews()
Gets the read-only list of all View s. |
void |
onViewRenamed(View view,
String oldName,
String newName)
|
protected abstract String |
primaryView()
|
protected abstract void |
primaryView(String newName)
|
protected abstract List<View> |
views()
Returns all the views. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ViewGroupMixIn(ViewGroup owner)
Method Detail |
---|
protected abstract List<View> views()
protected abstract String primaryView()
protected abstract void primaryView(String newName)
public void addView(View v) throws IOException
IOException
public boolean canDelete(View view)
public void deleteView(View view) throws IOException
IOException
public View getView(String name)
@Exported public Collection<View> getViews()
View
s.
@Exported public View getPrimaryView()
View
that renders the top-page of Hudson.
public void onViewRenamed(View view, String oldName, String newName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |