public abstract class ViewGroupMixIn extends Object
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| Modifier | Constructor and Description |
|---|---|
protected |
ViewGroupMixIn(ViewGroup owner) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected ViewGroupMixIn(ViewGroup owner)
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
IOException@Exported public Collection<View> getViews()
Views.@Exported public View getPrimaryView()
View that renders the top-page of Hudson.Copyright © 2019. All rights reserved.