Package com.dassault_systemes.catjdialog

   
Class CATLongText

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.catjdialog.CATCallbackSource
        |
        +-com.dassault_systemes.catjdialog.CATDialog
              |
              +-com.dassault_systemes.catjdialog.CATLeafElement
                    |
                    +-com.dassault_systemes.catjdialog.CATLabel
                          |
                          +-com.dassault_systemes.catjdialog.CATLongText
Class Location

Framework : CATJDialog

Module : CATJDialog

Class Description

public class CATLongText

The long text graphical component.

Description:

A (generally long) label that is able to wrap and spread over several lines.
It is not allowed to display images.

CATLongText Properties:

CATLongText Notifications:

CATLongText Message Catalog Implicit Mappings:

Field Summary

Constructor Summary
CATLongText(CATDialog iDialog, String iName)
CATLongText(CATDialog iDialog, String iName, int iLevel)

Method Summary
String getImage()
boolean hasImage()
void setImage(String iImage)


Field Detail

Constructor Detail

CATLongText

    CATLongText(CATDialog iDialog, String iName)

Creates a long text with the specified parent and name. Level is 0.

Parameters:
iParent
The parent component.
iName
This component name. Here are some rules for this name:
  • It is set in the constructor, and cannot be changed afterwards.
  • The name must be unique for the parent (2 children with the same name are not allowed).
  • The name may not contain any ot the following characters: '.' (dot), ' ' (blank), '_' (underscore)

CATLongText

    CATLongText(CATDialog iDialog, String iName, int iLevel)

Creates a long text with the specified parent, name and level.

Parameters:
iParent
The parent component.
iName
This component name. Here are some rules for this name:
iLevel
The text level.

Method Detail

getImage

    String getImage()

CATLongText does not support images. Returns null.

Returns:
null.

hasImage

    boolean hasImage()

CATLongText does not support images. Returns false.

Returns:
false.

setImage

    void setImage(String iImage)

CATLongText does not support images. Throws an Error.

Parameters:
iImage
Ignored.


Copyright © 2000, Dassault Systèmes. All rights reserved