Lines Matching refs:action

6772 					var action = actions[index++];
6776 if (action.open != null)
6780 if (this.isCustomLink(action.open))
6782 if (!this.customLinkClicked(action.open))
6789 this.openLink(action.open);
6793 if (action.wait != null && !stop)
6804 (action.wait != '') ? parseInt(action.wait) : 1000);
6808 if (action.opacity != null && action.opacity.value != null)
6811 this.getCellsForAction(action.opacity, true)),
6812 action.opacity.value);
6815 if (action.fadeIn != null)
6819 this.getCellsForAction(action.fadeIn, true)),
6821 0 : action.fadeIn.delay);
6824 if (action.fadeOut != null)
6828 this.getCellsForAction(action.fadeOut, true)),
6830 0 : action.fadeOut.delay);
6833 if (action.wipeIn != null)
6836 this.getCellsForAction(action.wipeIn, true), true));
6839 if (action.wipeOut != null)
6842 this.getCellsForAction(action.wipeOut, true), false));
6846 if (action.toggle != null)
6849 this.toggleCells(this.getCellsForAction(action.toggle, true));
6852 if (action.show != null)
6855 var temp = this.getCellsForAction(action.show, true);
6860 if (action.hide != null)
6863 var temp = this.getCellsForAction(action.hide, true);
6868 if (action.toggleStyle != null && action.toggleStyle.key != null)
6871 this.toggleCellStyles(action.toggleStyle.key, (action.toggleStyle.defaultValue != null) ?
6872 action.toggleStyle.defaultValue : '0', this.getCellsForAction(action.toggleStyle, true));
6875 if (action.style != null && action.style.key != null)
6878 this.setCellStyles(action.style.key, action.style.value,
6879 this.getCellsForAction(action.style, true));
6885 if (action.select != null && this.isEnabled())
6887 cells = this.getCellsForAction(action.select);
6891 if (action.highlight != null)
6893 cells = this.getCellsForAction(action.highlight);
6894 this.highlightCells(cells, action.highlight.color,
6895 action.highlight.duration,
6896 action.highlight.opacity);
6899 if (action.scroll != null)
6901 cells = this.getCellsForAction(action.scroll);
6904 if (action.viewbox != null)
6906 this.fitWindow(action.viewbox, action.viewbox.border);
6914 if (action.tags != null)
6918 if (action.tags.hidden != null)
6920 hidden = hidden.concat(action.tags.hidden);
6923 if (action.tags.visible != null)
6929 if (mxUtils.indexOf(action.tags.visible, all[i]) < 0 &&
6945 (stop) ? 1 : action.steps,
6946 (stop) ? 0 : action.delay);
7061 var action = actions[i];
7063 for (var name in action)
7065 this.updateCustomLinkAction(mapping, action[name], 'cells');
7066 this.updateCustomLinkAction(mapping, action[name], 'excludeCells');
7074 Graph.prototype.updateCustomLinkAction = function(mapping, action, name) argument
7076 if (action != null && action[name] != null)
7080 for (var i = 0; i < action[name].length; i++)
7082 if (action[name][i] == '*')
7084 result.push(action[name][i]);
7088 var temp = mapping[action[name][i]];
7099 result.push(action[name][i]);
7104 action[name] = result;
7112 Graph.prototype.getCellsForAction = function(action, layers) argument
7114 var result = this.getCellsById(action.cells).concat(
7115 this.getCellsForTags(action.tags, null, layers));
7118 if (action.excludeCells != null)
7124 if (action.excludeCells.indexOf(result[i].id) < 0)