Interface ExtendedTarget
All Packages Class Hierarchy This Package Previous Next Index
Interface ExtendedTarget
public interface netscape.application.ExtendedTarget
implements netscape.application.Target
{
/* Fields
*/
public final static java.lang.String NEW_FONT_SELECTION;
public final static java.lang.String SET_FONT;
public final static java.lang.String SHOW_COLOR_CHOOSER;
public final static java.lang.String SHOW_FONT_CHOOSER;
/* Methods
*/
public abstract boolean canPerformCommand(String);
}
Interface enabling a Target to declare the commands it can
perform. For example, a TextView implements the ExtendedTarget
interface and returns true when asked if it can perform the
ExtendedTarget.SET_FONT command. The static strings defined by this
interface have special meaning within the IFC library.
- See Also:
- Target
Fields
SET_FONT
public final static String SET_FONT
- Command to change font to the one passed as the "data" argument.
NEW_FONT_SELECTION
public final static String NEW_FONT_SELECTION
- Command to set the current font in the Font Chooser.
SHOW_FONT_CHOOSER
public final static String SHOW_FONT_CHOOSER
- Command to make the FontChooser visible.
SHOW_COLOR_CHOOSER
public final static String SHOW_COLOR_CHOOSER
- Command to make the ColorChooser visible.
Methods
canPerformCommand
public abstract boolean canPerformCommand(String command)
- Returns true if the object can perform command.
All Packages Class Hierarchy This Package Previous Next Index