EDOBE XDOM PMML Instrukcja Użytkownika Strona 22

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 98
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 21
22
Constructors The constructor method is typically empty. When the constructor is
called, the node properties have not been initialized. Any subclass
initialization that depends on the node properties should be
implemented by overridding the
initializeNodeModel method,
which is called after the properties are set.
public ReadTextFileNodeModel() {
}
General Methods This class has a wide variety of methods that are used by the
application to find out about the node. For most of these, the default
implementation is used. Exceptions are discussed in the following
subsection.
When overriding methods, it’s often necessary to get information on
the current node properties. The method
getXTProps() returns this
information.
Check Properties The isPropertiesValid() method returns a boolean indicating
whether all of the required properties are specified. This method will
usually check the
XTProps object containing model information to
determine whether additional information is needed. This method is
almost always overridden.
Display Dialog The showPropertiesDialog() method displays the properties dialog
for the node. Typically this will construct a dialog passing the
XTProps object to the dialog’s constructor, and show the dialog. The
dialog gets current settings from the properties object and puts final
settings back into the properties object. This method is almost always
overridden.
Show Viewer The showView() method displays the viewer for the node. By default,
the Table View is presented. This method is only overridden if the
node has a custom viewer. Viewers should be non-blocking.
Special
Interfaces
Every node has the ability to display a property dialog, execute, and
display a viewer. In addition, some nodes support additional menu
item operations such as Create Predictor, Create Filter, and
Generate PMML. The
ActivityNodeModel indicates that it can
support this type of functionality by implementing the appropriate
interface.
Przeglądanie stron 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 97 98

Komentarze do niniejszej Instrukcji

Brak uwag