public abstract class ViewGroupMixIn extends Object
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
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
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.
|
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
IOException
public boolean canDelete(View view)
public void deleteView(View view) throws IOException
IOException
@Exported public Collection<View> getViews()
View
s.@Exported public View getPrimaryView()
View
that renders the top-page of Hudson.Copyright © 2019. All rights reserved.