Package org.gorpipe.querydialogs
Interface FilteringColumnDefinition
-
public interface FilteringColumnDefinitionInterface for filtering column definition.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisplayHelp(java.awt.Window parent)Display detailed help for the column.java.lang.StringgetDescription()Get the description of the column (one sentence).javax.swing.JPanelgetDescriptionPanelWithHyperlink(javax.swing.JComponent toolTipViewer)The description is displayed in a panel.java.lang.StringgetShortDescription()Get the short description of column (few words).booleanhasColumnHelp()Check if help is defined for column.booleanhasDescription()Check if the column definition has a description.booleanhasShortDescription()Check if the column definition has a short description.
-
-
-
Method Detail
-
hasShortDescription
boolean hasShortDescription()
Check if the column definition has a short description.- Returns:
trueif the column definition has a short description, otherwisefalse
-
getShortDescription
java.lang.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
java.lang.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
void displayHelp(java.awt.Window parent)
Display detailed help for the column.- Parameters:
parent- the parent window of the component displaying help
-
getDescriptionPanelWithHyperlink
javax.swing.JPanel getDescriptionPanelWithHyperlink(javax.swing.JComponent toolTipViewer)
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
-
-