All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cb.petal.RoleView Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) 2001 Markus Dahm
 * Copyright (C) 2015-2018 BITPlan GmbH http://www.bitplan.com
 *
 * This source is part of
 * https://github.com/BITPlan/CrazyBeans
 * and the license as outlined there applies
 */
package cb.petal;
import java.util.Collection;

/**
 * Represents RoleView object
 *
 * @version $Id: RoleView.java,v 1.10 2001/06/22 09:10:36 dahm Exp $
 * @author  M. Dahm
 */
public class RoleView extends QuiduView implements SegLabeled {
  static final long serialVersionUID = -903647066739783608L;

  public RoleView(PetalNode parent, Collection params, int tag) {
    super(parent, "RoleView", params, tag);
  }

  public RoleView() {
    super("RoleView");
  }

  public Tag getParentView() {
    return (Tag)getProperty("Parent_View");
  }

  public void setParentView(Tag o) {
    defineProperty("Parent_View", o);
  }

  public SegLabel getLabel() {
    return (SegLabel)getProperty("label");
  }

  public void setLabel(SegLabel o) {
    defineProperty("label", o);
  }

  public PetalNodeList getVertices() {
    return (PetalNodeList)getProperty("vertices");
  }

  public void setVertices(PetalNodeList o) {
    defineProperty("vertices", o);
  }

  public void accept(Visitor v) {
    v.visit(this);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy