public class ExternalLink
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected MustTextField |
infoLink |
Constructor and Description |
---|
ExternalLink(java.awt.Frame ownerFrame,
ImageResource imageResource,
MustTextField infoLink) |
Modifier and Type | Method and Description |
---|---|
void |
addTo(AttributeList attributeList)
Adds the component to an attribute list
|
void |
addTo(AttributeList attributeList,
java.lang.String label)
Adds the component to an attribute list
|
void |
create(java.awt.Frame ownerFrame,
ImageResource imageResource) |
protected java.lang.String |
getTranslation(java.lang.String resourceKey)
Returns a text in the corresponding language according to the locale
specific resource bundle of the package.
|
boolean |
isFileOnly() |
boolean |
requestFocusInWindow() |
void |
selectAll() |
void |
setEditable(boolean b)
Enables or disables the choose buttons.
|
void |
setEnabled(boolean b) |
void |
setFileNotFolder() |
void |
setFilter(javax.swing.filechooser.FileFilter fileFilter) |
void |
setNoOpen() |
void |
setToolTipText(java.lang.String text) |
void |
setVisible(boolean b) |
protected MustTextField infoLink
public ExternalLink(java.awt.Frame ownerFrame, ImageResource imageResource, MustTextField infoLink)
public void create(java.awt.Frame ownerFrame, ImageResource imageResource)
public void setToolTipText(java.lang.String text)
public void setFilter(javax.swing.filechooser.FileFilter fileFilter)
protected java.lang.String getTranslation(java.lang.String resourceKey)
resourceKey
- the key of the resource to retrievepublic void addTo(AttributeList attributeList, java.lang.String label)
attributeList
- the attribute list to be extendedlabel
- the label of the component's rowpublic void addTo(AttributeList attributeList)
attributeList
- the attribute list to be extendedpublic void setFileNotFolder()
public boolean isFileOnly()
public void setNoOpen()
public void setEditable(boolean b)
b
- whether or not this component is editablepublic void setEnabled(boolean b)
public void setVisible(boolean b)
public boolean requestFocusInWindow()
public void selectAll()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de