Package com.dassault_systemes.catjdialog

   
Class CATLink

 
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.CATLink
Class Location

Framework : CATJDialog

Module : CATJDialog

Class Description

public class CATLink

The link graphical component.

Description:

A label that the user can click to navigate in the application.
The application can be notified when it is clicked.

CATLink Properties:

CATLink Notifications:

CATLink Message Catalog Implicit Mappings:

Field Summary

Constructor Summary
CATLink(CATDialog iDialog, String iName)

Method Summary
CATNotification getNavigateNotification()
boolean getEnable()
void setEnable(boolean iEnable)


Field Detail

Constructor Detail

CATLink

    CATLink(CATDialog iDialog, String iName)

Creates a link with the specified parent and name.

Parameters:
iParent
The parent component.
iName
This link 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)

Method Detail

getNavigateNotification

    CATNotification getNavigateNotification()

Returns the navigate notification.

This notification is sent when the link is clicked.

Returns:
The navigate notification.

getEnable

    boolean getEnable()

Determines whether this link is enabled or not.

Returns:
true if this link is enabled; false otherwise.

setEnable

    void setEnable(boolean iEnable)

Enables or disables this link.

A disabled link doesn't fire its Navigate notification.

Parameters:
iEnable
If true, this link is enabled; otherwise it is disabled.


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