public final class MultiViewElementCallback extends Object
Modifier and Type | Method and Description |
---|---|
Action[] |
createDefaultActions()
Creates the default TopComponent actions as defined by the Window System.
|
TopComponent |
getTopComponent()
Returns the enclosing Multiview's topcomponent.
|
boolean |
isSelectedElement()
Element can check if it's currently the selected element.
|
void |
requestActive()
Activates this multi view element in enclosing multi view component
context, if enclosing multi view top component is opened.
|
void |
requestVisible()
Selects this multi view element in enclosing component context,
if component is opened, but does not activate it
unless enclosing component is in active mode already.
|
void |
updateTitle(String title)
Update the multiview's topcomponent title.
|
public void requestActive()
public void requestVisible()
public Action[] createDefaultActions()
public void updateTitle(String title)
public boolean isSelectedElement()
public TopComponent getTopComponent()