jACOB 2.7 API Documentation.

de.tif.jacob.screen.dialogs
Interface IRecordTreeDialog

All Superinterfaces:
IDialog

public interface IRecordTreeDialog
extends IDialog

Base interface for record tree implementations.
Record tree dialogs are used to view the relation of an entity (record) to further entities (records) as a tree structure.

A new record tree dialog can be created by means of:

  • IClientContext.createRecordTreeDialog(IGuiElement, IDataTableRecord, IRelationSet, Filldirection, IRecordTreeDialogCallback)


    Field Summary
    static java.lang.String RCS_ID
              The internal revision control system id.
    static java.lang.String RCS_REV
              The internal revision control system id in short form.
     
    Method Summary
     boolean getAutoclose()
              Returns the behaviour of the dialog window, if the user clicks on an entity in the tree.
     void setAutoclose(boolean closeOnClick)
              Set the behaviour of the dialog window, if the user clicks on an entity in the tree.
     void setLabelProvider(ILabelProvider provider)
              Sets a new label/image provider for this record tree dialog.
     
    Methods inherited from interface de.tif.jacob.screen.dialogs.IDialog
    show, show
     

    Field Detail

    RCS_ID

    static final java.lang.String RCS_ID
    The internal revision control system id.

    See Also:
    Constant Field Values

    RCS_REV

    static final java.lang.String RCS_REV
    The internal revision control system id in short form.

    See Also:
    Constant Field Values
    Method Detail

    setLabelProvider

    void setLabelProvider(ILabelProvider provider)
    Sets a new label/image provider for this record tree dialog.

    The IRecordTreeDialog implementation ensures that the given label provider is connected to this dialog and the former label provider is disconnected from this dialog.

    Parameters:
    provider - the new label provider or null if none

    setAutoclose

    void setAutoclose(boolean closeOnClick)
    Set the behaviour of the dialog window, if the user clicks on an entity in the tree. The default is true. This means, that the dialog window will be closed automatically, if the user selects an entity in the tree.

    The dialog window will not be closed, if the flag is false.

    Parameters:
    closeOnClick -

    getAutoclose

    boolean getAutoclose()
    Returns the behaviour of the dialog window, if the user clicks on an entity in the tree.

    Returns:
    true if the dialog window is automatically closed, otherwise false.

    jACOB 2.7 API Documentation.