|
||||||||||
| 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 ViewGroups.
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 Views. |
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
IOExceptionpublic boolean canDelete(View view)
public void deleteView(View view) throws IOException
IOExceptionpublic View getView(String name)
@Exported public Collection<View> getViews()
Views.
@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 | |||||||||