Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: renderkits/components/svg/Line.java


1   /*
2    * The contents of this file are subject to the terms
3    * of the Common Development and Distribution License
4    * (the License). You may not use this file except in
5    * compliance with the License.
6    * 
7    * You can obtain a copy of the License at
8    * https://javaserverfaces.dev.java.net/CDDL.html or
9    * legal/CDDLv1.0.txt. 
10   * See the License for the specific language governing
11   * permission and limitations under the License.
12   * 
13   * When distributing Covered Code, include this CDDL
14   * Header Notice in each file and include the License file
15   * at legal/CDDLv1.0.txt.    
16   * If applicable, add the following below the CDDL Header,
17   * with the fields enclosed by brackets [] replaced by
18   * your own identifying information:
19   * "Portions Copyrighted [year] [name of copyright owner]"
20   * 
21   * [Name of File] [ver.__] [Date]
22   * 
23   * Copyright 2005 Sun Microsystems Inc. All Rights Reserved
24   */
25  
26  package renderkits.components.svg;
27  
28  
29  /**
30   * <p>{@link Line} is a JavaServer Faces component that renders
31   * a <code>SVG</code> markup for a rectangle.</p>
32   */
33  
34  public class Line extends Shape {
35  
36      /** <p>The standard component type for this component.</p> */
37      public static final String COMPONENT_TYPE = "Line";
38  
39  
40      /** <p>The standard component family for this component.</p> */
41      public static final String COMPONENT_FAMILY = "Line";
42  
43      public Line() {
44          super();
45      }
46  
47  
48      /** <p>Return the component family for this component. */
49      public String getFamily() {
50  
51          return (COMPONENT_FAMILY);
52  
53      }
54  }