com.sshtools.common.ui

Class HostsTab

Implemented Interfaces:
ActionListener, OptionsTab, Tab

public class HostsTab
extends JPanel
implements OptionsTab, ActionListener

Version:
$Revision: 1.15 $
Author:
$author$

Field Summary

static String
ALLOW_ICON
static String
DENY_ICON
static String
GLOBAL_ICON
static String
REMOVE_ICON

Constructor Summary

HostsTab(AbstractKnownHostsKeyVerification hostKeyVerifier)
Creates a new HostsTab object.

Method Summary

void
actionPerformed(ActionEvent evt)
void
applyTab()
Component
getTabComponent()
String
getTabContext()
Icon
getTabIcon()
int
getTabMnemonic()
String
getTabTitle()
String
getTabToolTipText()
void
reset()
void
tabSelected()
boolean
validateTab()

Field Details

ALLOW_ICON

public static final String ALLOW_ICON

DENY_ICON

public static final String DENY_ICON

GLOBAL_ICON

public static final String GLOBAL_ICON

REMOVE_ICON

public static final String REMOVE_ICON

Constructor Details

HostsTab

public HostsTab(AbstractKnownHostsKeyVerification hostKeyVerifier)
Creates a new HostsTab object.
Parameters:
hostKeyVerifier -

Method Details

actionPerformed

public void actionPerformed(ActionEvent evt)
Parameters:
evt -

applyTab

public void applyTab()
Specified by:
applyTab in interface Tab

getTabComponent

public Component getTabComponent()
Specified by:
getTabComponent in interface Tab
Returns:

getTabContext

public String getTabContext()
Specified by:
getTabContext in interface Tab
Returns:

getTabIcon

public Icon getTabIcon()
Specified by:
getTabIcon in interface Tab
Returns:

getTabMnemonic

public int getTabMnemonic()
Specified by:
getTabMnemonic in interface Tab
Returns:

getTabTitle

public String getTabTitle()
Specified by:
getTabTitle in interface Tab
Returns:

getTabToolTipText

public String getTabToolTipText()
Specified by:
getTabToolTipText in interface Tab
Returns:

reset

public void reset()
Specified by:
reset in interface OptionsTab

tabSelected

public void tabSelected()
Specified by:
tabSelected in interface Tab

validateTab

public boolean validateTab()
Specified by:
validateTab in interface Tab
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.