T
- The type of the selectable item, e.g. VertexRef or EdgeRefpublic abstract class SingleSelectedInfoPanelItem<T extends Ref> extends Object implements InfoPanelItem
Constructor and Description |
---|
SingleSelectedInfoPanelItem() |
Modifier and Type | Method and Description |
---|---|
boolean |
contributesTo(GraphContainer container) |
protected abstract boolean |
contributesTo(T ref,
GraphContainer graphContainer) |
protected abstract T |
findSingleSelectedItem(GraphContainer container) |
com.vaadin.ui.Component |
getComponent(GraphContainer container) |
protected abstract com.vaadin.ui.Component |
getComponent(T ref,
GraphContainer graphContainer) |
String |
getTitle(GraphContainer container) |
protected abstract String |
getTitle(T ref) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo, getOrder
public com.vaadin.ui.Component getComponent(GraphContainer container)
getComponent
in interface InfoPanelItem
public boolean contributesTo(GraphContainer container)
contributesTo
in interface InfoPanelItem
public String getTitle(GraphContainer container)
getTitle
in interface InfoPanelItem
protected abstract boolean contributesTo(T ref, GraphContainer graphContainer)
protected abstract com.vaadin.ui.Component getComponent(T ref, GraphContainer graphContainer)
protected abstract T findSingleSelectedItem(GraphContainer container)
Copyright © 2017. All rights reserved.