247 {
248
249 ((ObjectInterface *) clazz->interface)->dealloc =
dealloc;
250 ((ObjectInterface *) clazz->interface)->hash =
hash;
251 ((ObjectInterface *) clazz->interface)->isEqual =
isEqual;
252
253 ((StylesheetInterface *) clazz->interface)->defaultStylesheet =
defaultStylesheet;
264}
static Stylesheet * initWithData(Stylesheet *self, const Data *data)
static Stylesheet * initWithResource(Stylesheet *self, const Resource *resource)
static Stylesheet * stylesheetWithData(const Data *data)
static bool isEqual(const Object *self, const Object *other)
static Stylesheet * initWithResourceName(Stylesheet *self, const char *name)
static Stylesheet * stylesheetWithResource(const Resource *resource)
static Stylesheet * stylesheetWithResourceName(const char *name)
static Stylesheet * defaultStylesheet(void)
static Stylesheet * initWithString(Stylesheet *self, const String *string)
static Stylesheet * initWithCharacters(Stylesheet *self, const char *chars)
static Stylesheet * stylesheetWithString(const String *string)
Stylesheet * stylesheetWithCharacters(const char *chars)
Instantiates a new Stylesheet with the given CSS definitions.
Stylesheet * initWithData(Stylesheet *self, const Data *data)
Initializes this Stylesheet with the CSS definitions in data.
Stylesheet * stylesheetWithString(const String *string)
Instantiates a new Stylesheet with the given CSS String.
Stylesheet * initWithResource(Stylsheet *self, const Resource *resource)
Initializes this Stylsheet with the CSS definitions in resource.
Stylesheet * stylesheetWithResource(const Resource *resource)
Instantiates a new Stylesheet with the given CSS Resource.
Stylesheet * initWithResourceName(Stylsheet *self, const char *name)
Initializes this Stylsheet with the Resource by the specified name.
Stylesheet * initWithCharacters(Stylesheet *self, const char *chars)
Initializes this Stylesheet with the given CSS definitions.
Stylesheet * initWithString(Stylesheet *self, const String *string)
Initializes this Stylesheet with the CSS definitions in string.
Stylesheet * stylesheetWithResourceName(const char *name)
Instantiates a new Stylesheet with the CSS Resource by the specified name.