eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'TextAttributes':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: TextAttributes


Inheritance:

   Object
   |
   +--TextAttributes

Package:
stx:libcompat
Category:
Compatibility-ST80
Version:
rev: 1.14 date: 2011/08/07 11:25:41
user: cg
file: TextAttributes.st directory: libcompat
module: stx stc-classLibrary: libcompat

Description:


ST-80 compatibility class.
This may be required when existing code has to be ported to ST/X;
however, it may not be complete and more protocol may be added in the future.
The code here was created when public domain code (Manchester) had to
be ported to ST/X and missing classes/methods were encountered, and code added
by reasoning 'what the original class could probably do there'.

This is currently not used by ST/X itself.

This is an additional goody class; therefore:

THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTOR ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE CONTRIBUTOR BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.


Class protocol:

initialization
o  initializeDefault
VW uses #pixelDefault instead of #default

o  initializeDefaultItalic
VW uses #pixelDefaultItalic instead of #defaultItalic

o  initializeFixed
VW uses #pixelFixed instead of #fixed

o  initializeLarge
VW uses #pixelLarge instead of #large

o  initializeSmall
VW uses #pixelSmall instead of #small

o  initializeStyles
TextAttributes initialize

o  initializeSystemDefault

instance creation
o  characterAttributes: attributes

o  default

o  styleNamed: aStyleSymbol

o  styleNamed: aStyleSymbol ifAbsent: defaultValue

o  styleNamed: aStyleSymbol put: aStyle

others
o  version_CVS

queries
o  styles

o  textStyles


Instance protocol:

accessing
o  alignment
return alignment

o  alignment: something
set alignment

o  baseline
return baseline

o  baseline: something
set baseline

o  characterAttributes
return characterAttributes

o  characterAttributes: something
set the characterAttributes

o  equalTabs
return equalTabs

o  equalTabs: something
set equalTabs

o  firstIndent
return firstIndent

o  firstIndent: something
set firstIndent

o  lineGrid
return lineGrid

o  lineGrid: something
set lineGrid

o  restIndent
return restIndent

o  restIndent: something
set restIndent

o  rightIndent
return rightIndent

o  rightIndent: something
set rightIndent

o  setCharacterAttributes: something
set the characterAttributes

o  tabsArray
return tabsArray

o  tabsArray: something
set tabsArray

o  useTabs: aCollection
set tabsArray

queries
o  defaultFont



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 21 Aug 2019 22:22:40 GMT