blob: 8c3a4ed3662c1cabcbd7db7014d7843dd9adcde0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.service.protocol.whiteboardobjects;
import net.java.sip.communicator.service.protocol.WhiteboardPoint;
/**
* Used to access the content of instant whiteboard objects that are sent or
* received via the WhiteboardOperationSet.
*
* @author Julien Waechter
*/
public interface WhiteboardObjectLine extends WhiteboardObject
{
/**
* A type string constant indicating that an object is of type line.
*/
public static final String NAME = "WHITEBOARDOBJECTLINE";
/**
* Returns the coordinates of start point for the line
*
* @return the start coordinates of this line.
*/
public WhiteboardPoint getWhiteboardPointStart();
/**
* Returns the coordinates of end point for the line
*
* @return the end coordinates of this line.
*/
public WhiteboardPoint getWhiteboardPointEnd();
/**
* Sets the coordinates of start point for the line
*
* @param whiteboardPointStart the new start coordinates for this line.
*/
public void setWhiteboardPointStart(WhiteboardPoint whiteboardPointStart);
/**
* Sets the coordinates of end point for the line
*
* @param whiteboardPointEnd the new end coordinates for this line.
*/
public void setWhiteboardPointEnd(WhiteboardPoint whiteboardPointEnd);
}
|