@Test(expected=IllegalArgumentException.class) public void testVisualPropertyDependency() { assertNotNull(dependency); final Set<VisualProperty<Paint>> badSet = new HashSet<VisualProperty<Paint>>(); badSet.add(BasicVisualLexicon.EDGE_LABEL_COLOR); badSet.add(BasicVisualLexicon.NODE_FILL_COLOR); final VisualPropertyDependency<Paint> badDependency = new VisualPropertyDependency<Paint>(id, displayName, badSet, lexicon); }
public VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon) { this.id = id; this.displayName = displayName; this.vpSet = vpSet; this.enabled = false; this.parentVisualProperty = getParent(lexicon); }
VisualPropertyDependency { public VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon) { this.id = id; this.displayName = displayName; this.vpSet = vpSet; this.enabled = false; this.parentVisualProperty = getParent(lexicon); } }
VisualPropertyDependency { public VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon) { this.id = id; this.displayName = displayName; this.vpSet = vpSet; this.enabled = false; this.parentVisualProperty = getParent(lexicon); } VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon); }
VisualPropertyDependency { public VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon) { this.id = id; this.displayName = displayName; this.vpSet = vpSet; this.enabled = false; this.parentVisualProperty = getParent(lexicon); } VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon); String getDisplayName(); String getIdString(); Set<VisualProperty<?>> getVisualProperties(); void setDependency(boolean enable); boolean isDependencyEnabled(); VisualProperty<T> getParentVisualProperty(); void setEventHelper(CyEventHelper eventHelper); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
VisualPropertyDependency { public VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon) { this.id = id; this.displayName = displayName; this.vpSet = vpSet; this.enabled = false; this.parentVisualProperty = getParent(lexicon); } VisualPropertyDependency(final String id, final String displayName, final Set<VisualProperty<T>> vpSet, final VisualLexicon lexicon); String getDisplayName(); String getIdString(); Set<VisualProperty<?>> getVisualProperties(); void setDependency(boolean enable); boolean isDependencyEnabled(); VisualProperty<T> getParentVisualProperty(); void setEventHelper(CyEventHelper eventHelper); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }