View Javadoc

1   /*
2    * This file is a part of CAST project.
3    * (c) Copyright 2007, AGH University of Science & Technology
4    * https://caribou.iisg.agh.edu.pl/trac/cast
5    *
6    * Licensed under the Eclipse Public License, Version 1.0 (the "License").
7    * You may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    * http://www.eclipse.org/legal/epl-v10.html
10   */
11  /*
12   * File: ILabeledFigure.java
13   * Created: 2007-00-00
14   * Author: awos
15   * $Id: ILabeledFigure.java 2294 2009-01-12 13:49:58Z tmilos $
16   */
17  
18  package pl.edu.agh.cast.figure;
19  
20  /**
21   * This is an interface that should be implemented by figures that allow setting and getting of textual labels.
22   *
23   * @author AGH CAST Team
24   */
25  public interface ILabeledFigure {
26  
27  	/**
28  	 * Returns the label of the figure.
29  	 *
30  	 * @return text of the figure's label
31  	 */
32  	public String getLabel();
33  
34  	/**
35  	 * Sets the label of the figure.
36  	 *
37  	 * @param label
38  	 *            text of the figure's label
39  	 */
40  	public void setLabel(String label);
41  
42  }