IScreenLabelContent

Description

interface Tinman.Engine.Drawing.IScreenLabelContent

Base interface for screen labels that provide access to their displayed content.

A IScreenLabelContent object aggregates other IScreenLabel objects and exposes them via AsFrame, AsIcon and AsText. This way, the prominent parts of a composite label can be accessed directly, independently of the structure of the actual label composition.

Public / Methods

As​Frame


public method AsFrame → ()

returns → IScreenLabelFrame

The label frame or null if none.

Returns the prominent IScreenLabelFrame that belongs to this screen label.

As​Icon


public method AsIcon → ()

returns → IScreenLabelIcon

The label icon or null if none.

Returns the prominent IScreenLabelIcon that belongs to this screen label.

As​Text


public method AsText → ()

returns → IScreenLabelText

The label text or null if none.

Returns the prominent IScreenLabelText that belongs to this screen label.