Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/SharpVectorCore/Stylesheets/IStyleSheet.cs @ 13346

Last change on this file since 13346 was 12762, checked in by aballeit, 9 years ago

#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)

File size: 3.4 KB
Line 
1// <developer>niklas@protocol7.com</developer>
2// <completed>100</completed>
3
4using System;
5using System.Xml;
6
7namespace SharpVectors.Dom.Stylesheets
8{
9  /// <summary>
10  /// The StyleSheet interface is the abstract base interface for
11  /// any type of style sheet. It represents a single style sheet
12  /// associated with a structured document. In HTML, the
13  /// StyleSheet interface represents either an external style
14  /// sheet, included via the HTML LINK element, or an inline
15  /// STYLE element. In XML, this interface represents an external
16  /// style sheet, included via a style sheet processing
17  /// instruction.
18  /// </summary>
19  public interface IStyleSheet
20  {
21    /// <summary>
22    /// The intended destination media for style information. The media is often specified in the ownerNode. If no media has been specified, the MediaList will be empty. See the media attribute definition for the LINK element in HTML 4.0, and the media pseudo-attribute for the XML style sheet processing instruction . Modifying the media list may cause a change to the attribute disabled.
23    /// </summary>
24    IMediaList Media
25    {
26      get;
27    }
28 
29    /// <summary>
30    /// The advisory title. The title is often specified in the ownerNode. See the title attribute definition for the LINK element in HTML 4.0, and the title pseudo-attribute for the XML style sheet processing instruction.
31    /// </summary>
32    string Title
33    {
34      get;
35    }
36 
37    /// <summary>
38    /// If the style sheet is a linked style sheet, the value of its attribute is its location. For inline style sheets, the value of this attribute is null. See the href attribute definition for the LINK element in HTML 4.0, and the href pseudo-attribute for the XML style sheet processing
39    /// </summary>
40    string Href
41    {
42      get;
43    }
44 
45    /// <summary>
46    /// For style sheet languages that support the concept of style sheet inclusion, this attribute represents the including style sheet, if one exists. If the style sheet is a top-level style sheet, or the style sheet language does not support inclusion, the value of this attribute is null.
47    /// </summary>
48    IStyleSheet ParentStyleSheet
49    {
50      get;
51    }
52 
53    /// <summary>
54    /// The node that associates this style sheet with the document. For HTML, this may be the corresponding LINK or STYLE element. For XML, it may be the linking processing instruction. For style sheets that are included by other style sheets, the value of this attribute is null
55    /// </summary>
56    XmlNode OwnerNode
57    {
58      get;
59    }
60 
61    /// <summary>
62    /// false if the style sheet is applied to the document. true if it is not. Modifying this attribute may cause a new resolution of style for the document. A stylesheet only applies if both an appropriate medium definition is present and the disabled attribute is false. So, if the media doesn't apply to the current user agent, the disabled attribute is ignored.
63    /// </summary>
64    bool Disabled
65    {
66      get;
67      set;
68    }
69 
70    /// <summary>
71    /// This specifies the style sheet language for this style sheet. The style sheet language is specified as a content type (e.g. "text/css"). The content type is often specified in the ownerNode. Also see the type attribute definition for the LINK element in HTML 4.0, and the type pseudo-attribute for the XML style sheet processing instruction.
72    /// </summary>
73    string Type
74    {
75      get;
76    }
77  }
78}
79
Note: See TracBrowser for help on using the repository browser.