~ubuntu-branches/ubuntu/raring/libjaxp1.3-java/raring

« back to all changes in this revision

Viewing changes to org/w3c/dom/svg/SVGLength.java

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-11-17 14:36:04 UTC
  • mfrom: (3.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20101117143604-o14s4i5mg3sr0s0v
Tags: 1.3.05-1ubuntu1
* Merge with Debian, remaining changes:
  - Adjust versioned conflict with libxalan2-java.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
package org.w3c.dom.svg;
 
3
 
 
4
import org.w3c.dom.DOMException;
 
5
public interface SVGLength {
 
6
  // Length Unit Types
 
7
  public static final short SVG_LENGTHTYPE_UNKNOWN    = 0;
 
8
  public static final short SVG_LENGTHTYPE_NUMBER     = 1;
 
9
  public static final short SVG_LENGTHTYPE_PERCENTAGE = 2;
 
10
  public static final short SVG_LENGTHTYPE_EMS        = 3;
 
11
  public static final short SVG_LENGTHTYPE_EXS        = 4;
 
12
  public static final short SVG_LENGTHTYPE_PX         = 5;
 
13
  public static final short SVG_LENGTHTYPE_CM         = 6;
 
14
  public static final short SVG_LENGTHTYPE_MM         = 7;
 
15
  public static final short SVG_LENGTHTYPE_IN         = 8;
 
16
  public static final short SVG_LENGTHTYPE_PT         = 9;
 
17
  public static final short SVG_LENGTHTYPE_PC         = 10;
 
18
 
 
19
  public short getUnitType( );
 
20
  public float          getValue( );
 
21
  public void           setValue( float value )
 
22
                       throws DOMException;
 
23
  public float          getValueInSpecifiedUnits( );
 
24
  public void           setValueInSpecifiedUnits( float valueInSpecifiedUnits )
 
25
                       throws DOMException;
 
26
  public String      getValueAsString( );
 
27
  public void           setValueAsString( String valueAsString )
 
28
                       throws DOMException;
 
29
 
 
30
  public void newValueSpecifiedUnits ( short unitType, float valueInSpecifiedUnits );
 
31
  public void convertToSpecifiedUnits ( short unitType );
 
32
}