Package org.gorpipe.querydialogs
Interface FilteringColumnDefinition
public interface FilteringColumnDefinition
Interface for filtering column definition.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayHelp(Window parent) Display detailed help for the column.Get the description of the column (one sentence).getDescriptionPanelWithHyperlink(JComponent toolTipViewer) The description is displayed in a panel.Get the short description of column (few words).booleanCheck if help is defined for column.booleanCheck if the column definition has a description.booleanCheck if the column definition has a short description.
-
Method Details
-
hasShortDescription
boolean hasShortDescription()Check if the column definition has a short description.- Returns:
trueif the column definition has a short description, otherwisefalse
-
getShortDescription
String getShortDescription()Get the short description of column (few words).- Returns:
- the short description of column
-
hasDescription
boolean hasDescription()Check if the column definition has a description.- Returns:
trueif the column definition has a description, otherwisefalse
-
getDescription
String getDescription()Get the description of the column (one sentence).- Returns:
- the description of the column
-
hasColumnHelp
boolean hasColumnHelp()Check if help is defined for column.- Returns:
trueif help is defined for column, otherwisefalse
-
displayHelp
Display detailed help for the column.- Parameters:
parent- the parent window of the component displaying help
-
getDescriptionPanelWithHyperlink
The description is displayed in a panel. If the description does not fit in the panel a '...more' hyperlink is added at the end of the partial description. When the hyperlink is pressed a popup dialog should display the complete description.- Parameters:
toolTipViewer- a tooltip viewer to use for pinning description- Returns:
- panel for displaying the description
-