KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > dom > svg > SVGAngle


1
2 package org.w3c.dom.svg;
3
4 import org.w3c.dom.DOMException JavaDoc;
5 public interface SVGAngle {
6   // Angle Unit Types
7
public static final short SVG_ANGLETYPE_UNKNOWN = 0;
8   public static final short SVG_ANGLETYPE_UNSPECIFIED = 1;
9   public static final short SVG_ANGLETYPE_DEG = 2;
10   public static final short SVG_ANGLETYPE_RAD = 3;
11   public static final short SVG_ANGLETYPE_GRAD = 4;
12
13   public short getUnitType( );
14   public float getValue( );
15   public void setValue( float value )
16                        throws DOMException JavaDoc;
17   public float getValueInSpecifiedUnits( );
18   public void setValueInSpecifiedUnits( float valueInSpecifiedUnits )
19                        throws DOMException JavaDoc;
20   public String JavaDoc getValueAsString( );
21   public void setValueAsString( String JavaDoc valueAsString )
22                        throws DOMException JavaDoc;
23
24   public void newValueSpecifiedUnits ( short unitType, float valueInSpecifiedUnits );
25   public void convertToSpecifiedUnits ( short unitType );
26 }
27
Popular Tags