當前位置: 首頁>>代碼示例>>Java>>正文


Java ProcessInteractionListener類代碼示例

本文整理匯總了Java中com.rapidminer.gui.flow.ProcessInteractionListener的典型用法代碼示例。如果您正苦於以下問題:Java ProcessInteractionListener類的具體用法?Java ProcessInteractionListener怎麽用?Java ProcessInteractionListener使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


ProcessInteractionListener類屬於com.rapidminer.gui.flow包,在下文中一共展示了ProcessInteractionListener類的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: addProcessInteractionListener

import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
 * Adds a listener that will be informed when the user right-clicks an operator or a port.
 *
 * @param l
 *            the listener
 */
public void addProcessInteractionListener(final ProcessInteractionListener l) {
	if (l == null) {
		throw new IllegalArgumentException("l must not be null!");
	}
	processInteractionListeners.add(l);
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:13,代碼來源:ProcessRendererView.java

示例2: removeProcessInteractionListener

import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
 * @see #addProcessInteractionListener(ProcessInteractionListener)
 */
public void removeProcessInteractionListener(final ProcessInteractionListener l) {
	if (l == null) {
		throw new IllegalArgumentException("l must not be null!");
	}
	processInteractionListeners.remove(l);
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:10,代碼來源:ProcessRendererView.java

示例3: fireOperatorMoved

import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
 * Notifies listeners that an operator has moved.
 *
 * @param op
 *            the operator that moved
 */
private void fireOperatorMoved(final Operator op) {
	List<ProcessInteractionListener> copy = new LinkedList<>(processInteractionListeners);
	for (ProcessInteractionListener l : copy) {
		l.operatorMoved(op);
	}
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:13,代碼來源:ProcessRendererView.java

示例4: fireDisplayedChainChanged

import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
 * Notifies listeners that the displayed operator chain has changed.
 *
 * @param op
 *            the new displayed chain
 */
private void fireDisplayedChainChanged(final OperatorChain op) {
	List<ProcessInteractionListener> copy = new LinkedList<>(processInteractionListeners);
	for (ProcessInteractionListener l : copy) {
		l.displayedChainChanged(op);
	}
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:13,代碼來源:ProcessRendererView.java

示例5: fireOperatorMenuWillOpen

import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
 * Notifies listeners that the operator context menu will be opened.
 *
 * @param m
 *            the menu instance
 * @param op
 *            the operator for which the menu will open
 */
private void fireOperatorMenuWillOpen(final JPopupMenu m, final Operator op) {
	List<ProcessInteractionListener> copy = new LinkedList<>(processInteractionListeners);
	for (ProcessInteractionListener l : copy) {
		l.operatorContextMenuWillOpen(m, op);
	}
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:15,代碼來源:ProcessRendererView.java

示例6: firePortMenuWillOpen

import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
 * Notifies listeners that the port context menu will be opened.
 *
 * @param m
 *            the menu instance
 * @param port
 *            the port for which the menu will open
 */
private void firePortMenuWillOpen(final JPopupMenu m, final Port port) {
	List<ProcessInteractionListener> copy = new LinkedList<>(processInteractionListeners);
	for (ProcessInteractionListener l : copy) {
		l.portContextMenuWillOpen(m, port);
	}
}
 
開發者ID:transwarpio,項目名稱:rapidminer,代碼行數:15,代碼來源:ProcessRendererView.java


注:本文中的com.rapidminer.gui.flow.ProcessInteractionListener類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。