Package com.dassault_systemes.catjdialog |
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
Framework : CATJDialog
Module : CATJDialog
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:
- Title: the link title
- Tooltip: the link tooltip text
- Image: the link image URI
- Level: the link look. 0 for default, 1 biggest, >1 smaller
- Enable: is the link enabled?
CATLink Notifications:
- Navigate: the notification send when the user clicks on the link.
CATLink Message Catalog Implicit Mappings:
- Title: the link title is implicitely mapped to the
<link_path>.Title
entry.
You may also set it programmatically using setTitle()
.
- Tooltip: the link tooltip is implicitely mapped to the
<link_path>.Tooltip
entry.
You may also set it programmatically using setTooltip()
.
CATLink(CATDialog iDialog, String iName)
|
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)
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