com.borland.primetime.properties
Class PropertyPageFactory
java.lang.Object
|
+--com.borland.primetime.properties.PropertyPageFactory
- public abstract class PropertyPageFactory
- extends java.lang.Object
PropertyPageFactory is designed to allow a property page to be described
without having to create the actual user interface until the tab associated
with the page is selected. Typical subclasses retain the lightweight
implementation of all but one method, overriding only the
createPropertyPage
method.
Field Summary |
protected javax.swing.Icon |
icon
|
protected java.lang.String |
name
|
protected java.lang.String |
tooltip
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
name
protected java.lang.String name
tooltip
protected java.lang.String tooltip
icon
protected javax.swing.Icon icon
PropertyPageFactory
public PropertyPageFactory(java.lang.String name)
PropertyPageFactory
public PropertyPageFactory(java.lang.String name,
java.lang.String tooltip)
PropertyPageFactory
public PropertyPageFactory(java.lang.String name,
java.lang.String tooltip,
javax.swing.Icon icon)
getPageName
public java.lang.String getPageName()
getPageTooltip
public java.lang.String getPageTooltip()
getPageIcon
public javax.swing.Icon getPageIcon()
createPropertyPage
public abstract PropertyPage createPropertyPage()
Constructs the PropertyPage user interface when the page's tab is
selected.
- Returns:
- An instance of a PropertyPage subclass.