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

cb.petal.NoteView 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 NoteView object, i.e. a note on the screan that may be attached to an
 * entity.
 *
 * @version $Id: NoteView.java,v 1.9 2001/07/09 07:48:52 dahm Exp $
 * @author  M. Dahm
 */
public class NoteView extends View {
  public NoteView(PetalNode parent, Collection params, int tag) {
    super(parent, "NoteView", params, tag);
  }

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy