public final class ServiceOfferNode extends NodeWithTreeReference implements NodeWithDetailsInterface, NodeWithIconsInterface, RefreshableNode, NodeWithPopupMenuInterface, NodeWithHelpTipInterface, NodeWithSearchCapability
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| Constructor and Description |
|---|
ServiceOfferNode(SCSTree tree,
FindServicesQueryControlInterface queryPropertiesInterface,
Connection cnn,
ServiceOfferDesc serviceOffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureHelpTip(TipPanelInterface tipPanel)
Evento acionado quando o usuário seleciona o nó, com o objetivo
de configurar o painel de dicas.
|
boolean |
equals(Object obj) |
Icon |
getClosedIcon()
Recupera o ícone para quando o nó não é folha, e está expandido.
|
JPanel |
getDetailsPanel()
Recuperar a instância do painel de detalhes que será exibido à direita da
árvore de componentes.
|
Icon |
getIcon() |
String |
getLabel() |
Icon |
getLeafIcon()
Recupera ícone para quando o nó é folha
|
Icon |
getOpenedIcon()
Recupera ícone para quando o nó não é folha, e está fechado.
|
JPopupMenu |
getPopupMenu()
Recuperar o menu popup referente ao nó da árvore.
|
ServiceOfferDesc |
getServiceOffer() |
Object |
getUserObject() |
int |
hashCode() |
boolean |
hasString(String lowerCaseStringToSearch) |
void |
refreshNode()
Executar o "refresh" do nó.
|
void |
setOfferPoolBean(ServiceOfferManagedBean offerBean) |
String |
toString() |
getMyTreeadd, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObjectpublic ServiceOfferNode(SCSTree tree, FindServicesQueryControlInterface queryPropertiesInterface, Connection cnn, ServiceOfferDesc serviceOffer)
public void refreshNode()
throws Exception
RefreshableNoderefreshNode in interface RefreshableNodeExceptionpublic final ServiceOfferDesc getServiceOffer()
public final String getLabel()
public String toString()
toString in class DefaultMutableTreeNodepublic JPanel getDetailsPanel()
NodeWithDetailsInterfacegetDetailsPanel in interface NodeWithDetailsInterfacepublic Icon getIcon()
public Icon getClosedIcon()
NodeWithIconsInterfacegetClosedIcon in interface NodeWithIconsInterfacepublic Icon getLeafIcon()
NodeWithIconsInterfacegetLeafIcon in interface NodeWithIconsInterfacepublic Icon getOpenedIcon()
NodeWithIconsInterfacegetOpenedIcon in interface NodeWithIconsInterfacepublic JPopupMenu getPopupMenu()
NodeWithPopupMenuInterfacegetPopupMenu in interface NodeWithPopupMenuInterfacepublic void configureHelpTip(TipPanelInterface tipPanel)
NodeWithHelpTipInterfaceTipPanelInterface.setTips(String[], String[]).configureHelpTip in interface NodeWithHelpTipInterfacetipPanel - Instância do painel de dicas.public void setOfferPoolBean(ServiceOfferManagedBean offerBean)
public Object getUserObject()
getUserObject in class DefaultMutableTreeNodepublic boolean hasString(String lowerCaseStringToSearch)
hasString in interface NodeWithSearchCapabilityCopyright © 2014 Tecgraf/PUC-Rio. All Rights Reserved.