Uses of Class
org.apache.pivot.util.Vote
-
Packages that use Vote Package Description org.apache.pivot.util Contains a collection of common utility classes.org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components.org.apache.pivot.wtk.skin Contains common skins and abstract base classes for theme-specific skins.org.apache.pivot.wtk.skin.terra Defines skin classes for the "Terra" theme. -
-
Uses of Vote in org.apache.pivot.util
Methods in org.apache.pivot.util that return Vote Modifier and Type Method Description Vote
VoteResult. get()
Vote
Vote. tally(Vote vote)
Tally a new vote against the previous tally result.static Vote
Vote. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Vote[]
Vote. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.pivot.util with parameters of type Vote Modifier and Type Method Description Vote
Vote. tally(Vote vote)
Tally a new vote against the previous tally result.void
VoteResult. tally(Vote vote)
Tally the internal vote with the next vote in line.Constructors in org.apache.pivot.util with parameters of type Vote Constructor Description VoteResult(Vote initialVote)
Construct one of these and set the initial vote to the given value. -
Uses of Vote in org.apache.pivot.wtk
Methods in org.apache.pivot.wtk that return Vote Modifier and Type Method Description Vote
TreeViewBranchListener.Adapter. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)
Deprecated.Vote
TreeViewBranchListener.Listeners. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)
default Vote
TreeViewBranchListener. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)
Called before a tree node is expanded or collapsed to allow the application or the skin to refuse the operation.Vote
DialogStateListener.Adapter. previewDialogClose(Dialog dialog, boolean result)
Deprecated.Vote
DialogStateListener.Listeners. previewDialogClose(Dialog dialog, boolean result)
default Vote
DialogStateListener. previewDialogClose(Dialog dialog, boolean result)
Called to preview a dialog close event.Vote
ExpanderListener.Adapter. previewExpandedChange(Expander expander)
Deprecated.Vote
ExpanderListener.Listeners. previewExpandedChange(Expander expander)
default Vote
ExpanderListener. previewExpandedChange(Expander expander)
Called to preview an expanded change event.Vote
RollupStateListener.Adapter. previewExpandedChange(Rollup rollup)
Deprecated.Vote
RollupStateListener.Listeners. previewExpandedChange(Rollup rollup)
default Vote
RollupStateListener. previewExpandedChange(Rollup rollup)
Called to preview a rollup expansion event.Vote
TextInputContentListener.Adapter. previewInsertText(TextInput textInput, java.lang.CharSequence text, int index)
Deprecated.Vote
TextInputContentListener.Listeners. previewInsertText(TextInput textInput, java.lang.CharSequence text, int index)
default Vote
TextInputContentListener. previewInsertText(TextInput textInput, java.lang.CharSequence text, int index)
Called to preview a text insertion.Vote
MenuPopupStateListener.Adapter. previewMenuPopupClose(MenuPopup menuPopup, boolean immediate)
Deprecated.Vote
MenuPopupStateListener.Listeners. previewMenuPopupClose(MenuPopup menuPopup, boolean immediate)
default Vote
MenuPopupStateListener. previewMenuPopupClose(MenuPopup menuPopup, boolean immediate)
Called to preview a menu popup close event.Vote
TabPaneListener.Adapter. previewRemoveTabs(TabPane tabPane, int index, int count)
Deprecated.Vote
TabPaneListener.Listeners. previewRemoveTabs(TabPane tabPane, int index, int count)
default Vote
TabPaneListener. previewRemoveTabs(TabPane tabPane, int index, int count)
Called to preview a tab removal.Vote
TextInputContentListener.Adapter. previewRemoveText(TextInput textInput, int index, int count)
Deprecated.Vote
TextInputContentListener.Listeners. previewRemoveText(TextInput textInput, int index, int count)
default Vote
TextInputContentListener. previewRemoveText(TextInput textInput, int index, int count)
Called to preview a text removal.Vote
AccordionSelectionListener.Adapter. previewSelectedIndexChange(Accordion accordion, int selectedIndex)
Deprecated.Vote
AccordionSelectionListener.Listeners. previewSelectedIndexChange(Accordion accordion, int selectedIndex)
default Vote
AccordionSelectionListener. previewSelectedIndexChange(Accordion accordion, int selectedIndex)
Called to preview a selected index change.Vote
CardPaneListener.Adapter. previewSelectedIndexChange(CardPane cardPane, int selectedIndex)
Deprecated.Vote
CardPaneListener.Listeners. previewSelectedIndexChange(CardPane cardPane, int selectedIndex)
default Vote
CardPaneListener. previewSelectedIndexChange(CardPane cardPane, int selectedIndex)
Called to preview a selected index change.Vote
TabPaneSelectionListener.Adapter. previewSelectedIndexChange(TabPane tabPane, int selectedIndex)
Deprecated.Vote
TabPaneSelectionListener.Listeners. previewSelectedIndexChange(TabPane tabPane, int selectedIndex)
default Vote
TabPaneSelectionListener. previewSelectedIndexChange(TabPane tabPane, int selectedIndex)
Called to preview a selected index change.Vote
SheetStateListener.Adapter. previewSheetClose(Sheet sheet, boolean result)
Deprecated.Vote
SheetStateListener.Listeners. previewSheetClose(Sheet sheet, boolean result)
default Vote
SheetStateListener. previewSheetClose(Sheet sheet, boolean result)
Called to preview a sheet close event.Vote
SuggestionPopupStateListener.Adapter. previewSuggestionPopupClose(SuggestionPopup suggestionPopup, boolean result)
Deprecated.Vote
SuggestionPopupStateListener.Listeners. previewSuggestionPopupClose(SuggestionPopup suggestionPopup, boolean result)
default Vote
SuggestionPopupStateListener. previewSuggestionPopupClose(SuggestionPopup suggestionPopup, boolean result)
Called to preview a suggestion popup close event.Vote
WindowStateListener.Adapter. previewWindowClose(Window window)
Deprecated.Vote
WindowStateListener.Listeners. previewWindowClose(Window window)
default Vote
WindowStateListener. previewWindowClose(Window window)
Called to preview a window close event.Vote
WindowStateListener.Adapter. previewWindowOpen(Window window)
Deprecated.Vote
WindowStateListener.Listeners. previewWindowOpen(Window window)
default Vote
WindowStateListener. previewWindowOpen(Window window)
Called to preview a window open event.Methods in org.apache.pivot.wtk with parameters of type Vote Modifier and Type Method Description void
TreeViewBranchListener.Adapter. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)
Deprecated.default void
TreeViewBranchListener. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)
Called when thepreviewBranchExpandedChange()
tally produces anything but aAPPROVE
result (to say NOT to expand or collapse the branch).void
TreeViewBranchListener.Listeners. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)
void
DialogStateListener.Adapter. dialogCloseVetoed(Dialog dialog, Vote reason)
Deprecated.default void
DialogStateListener. dialogCloseVetoed(Dialog dialog, Vote reason)
Called when a dialog close event has been vetoed.void
DialogStateListener.Listeners. dialogCloseVetoed(Dialog dialog, Vote reason)
void
ExpanderListener.Adapter. expandedChangeVetoed(Expander expander, Vote reason)
Deprecated.default void
ExpanderListener. expandedChangeVetoed(Expander expander, Vote reason)
Called when an expanded change event has been vetoed.void
ExpanderListener.Listeners. expandedChangeVetoed(Expander expander, Vote reason)
void
RollupStateListener.Adapter. expandedChangeVetoed(Rollup rollup, Vote reason)
Deprecated.default void
RollupStateListener. expandedChangeVetoed(Rollup rollup, Vote reason)
Called when a rollup expansion event has been vetoed.void
RollupStateListener.Listeners. expandedChangeVetoed(Rollup rollup, Vote reason)
void
TextInputContentListener.Adapter. insertTextVetoed(TextInput textInput, Vote reason)
Deprecated.default void
TextInputContentListener. insertTextVetoed(TextInput textInput, Vote reason)
Called when a text insertion has been vetoed.void
TextInputContentListener.Listeners. insertTextVetoed(TextInput textInput, Vote reason)
void
MenuPopupStateListener.Adapter. menuPopupCloseVetoed(MenuPopup menuPopup, Vote reason)
Deprecated.void
MenuPopupStateListener.Listeners. menuPopupCloseVetoed(MenuPopup menuPopup, Vote reason)
default void
MenuPopupStateListener. menuPopupCloseVetoed(MenuPopup menuPopup, Vote reason)
Called when a menu popup close event has been vetoed.void
TabPaneListener.Adapter. removeTabsVetoed(TabPane tabPane, Vote vote)
Deprecated.void
TabPaneListener.Listeners. removeTabsVetoed(TabPane tabPane, Vote reason)
default void
TabPaneListener. removeTabsVetoed(TabPane tabPane, Vote reason)
Called when a tab removal has been vetoed.void
TextInputContentListener.Adapter. removeTextVetoed(TextInput textInput, Vote reason)
Deprecated.void
TextInputContentListener.Listeners. removeTextVetoed(TextInput textInput, Vote reason)
default void
TextInputContentListener. removeTextVetoed(TextInput textInput, Vote reason)
Called when a text removal has been vetoed.void
AccordionSelectionListener.Adapter. selectedIndexChangeVetoed(Accordion accordion, Vote reason)
Deprecated.void
AccordionSelectionListener.Listeners. selectedIndexChangeVetoed(Accordion accordion, Vote reason)
default void
AccordionSelectionListener. selectedIndexChangeVetoed(Accordion accordion, Vote reason)
Called when a selected index change has been vetoed.void
CardPaneListener.Adapter. selectedIndexChangeVetoed(CardPane cardPane, Vote reason)
Deprecated.void
CardPaneListener.Listeners. selectedIndexChangeVetoed(CardPane cardPane, Vote reason)
default void
CardPaneListener. selectedIndexChangeVetoed(CardPane cardPane, Vote reason)
Called when a selected index change has been vetoed.void
TabPaneSelectionListener.Adapter. selectedIndexChangeVetoed(TabPane tabPane, Vote reason)
Deprecated.void
TabPaneSelectionListener.Listeners. selectedIndexChangeVetoed(TabPane tabPane, Vote reason)
default void
TabPaneSelectionListener. selectedIndexChangeVetoed(TabPane tabPane, Vote reason)
Called when a selected index change has been vetoed.void
SheetStateListener.Adapter. sheetCloseVetoed(Sheet sheet, Vote reason)
Deprecated.void
SheetStateListener.Listeners. sheetCloseVetoed(Sheet sheet, Vote reason)
default void
SheetStateListener. sheetCloseVetoed(Sheet sheet, Vote reason)
Called when a sheet close event has been vetoed.void
SuggestionPopupStateListener.Adapter. suggestionPopupCloseVetoed(SuggestionPopup suggestionPopup, Vote reason)
Deprecated.void
SuggestionPopupStateListener.Listeners. suggestionPopupCloseVetoed(SuggestionPopup suggestionPopup, Vote reason)
default void
SuggestionPopupStateListener. suggestionPopupCloseVetoed(SuggestionPopup suggestionPopup, Vote reason)
Called when a suggestion popup close event has been vetoed.void
WindowStateListener.Adapter. windowCloseVetoed(Window window, Vote reason)
Deprecated.void
WindowStateListener.Listeners. windowCloseVetoed(Window window, Vote reason)
default void
WindowStateListener. windowCloseVetoed(Window window, Vote reason)
Called when a window close event has been vetoed.void
WindowStateListener.Adapter. windowOpenVetoed(Window window, Vote reason)
Deprecated.void
WindowStateListener.Listeners. windowOpenVetoed(Window window, Vote reason)
default void
WindowStateListener. windowOpenVetoed(Window window, Vote reason)
Called when a window open event has been vetoed. -
Uses of Vote in org.apache.pivot.wtk.skin
Methods in org.apache.pivot.wtk.skin that return Vote Modifier and Type Method Description Vote
ExpanderSkin. previewExpandedChange(Expander expander)
Vote
RollupSkin. previewExpandedChange(Rollup rollup)
Vote
CardPaneSkin. previewSelectedIndexChange(CardPane cardPane, int selectedIndex)
Methods in org.apache.pivot.wtk.skin with parameters of type Vote Modifier and Type Method Description void
ExpanderSkin. expandedChangeVetoed(Expander expander, Vote reason)
void
RollupSkin. expandedChangeVetoed(Rollup rollup, Vote reason)
void
CardPaneSkin. selectedIndexChangeVetoed(CardPane cardPane, Vote reason)
-
Uses of Vote in org.apache.pivot.wtk.skin.terra
Methods in org.apache.pivot.wtk.skin.terra that return Vote Modifier and Type Method Description Vote
TerraTreeViewSkin. previewBranchExpandedChange(TreeView treeView, Sequence.Tree.Path path)
Vote
TerraDialogSkin. previewDialogClose(Dialog dialog, boolean result)
Vote
TerraExpanderSkin. previewExpandedChange(Expander expander)
Called to preview an expanded change event.Vote
TerraRollupSkin. previewExpandedChange(Rollup rollup)
Vote
TerraTextInputSkin. previewInsertText(TextInput textInput, java.lang.CharSequence text, int index)
Vote
TerraMenuPopupSkin. previewMenuPopupClose(MenuPopup menuPopup, boolean immediate)
Vote
TerraTabPaneSkin. previewRemoveTabs(TabPane tabPane, int index, int count)
Vote
TerraTextInputSkin. previewRemoveText(TextInput textInput, int index, int count)
Vote
TerraAccordionSkin. previewSelectedIndexChange(Accordion accordion, int selectedIndex)
Vote
TerraTabPaneSkin. previewSelectedIndexChange(TabPane tabPane, int selectedIndex)
Vote
TerraFileBrowserSheetSkin. previewSheetClose(Sheet sheet, boolean result)
Vote
TerraSheetSkin. previewSheetClose(Sheet sheet, boolean result)
Vote
TerraVFSBrowserSheetSkin. previewSheetClose(Sheet sheet, boolean result)
Vote
TerraSuggestionPopupSkin. previewSuggestionPopupClose(SuggestionPopup suggestionPopup, boolean result)
Vote
TerraTooltipSkin. previewWindowClose(Window window)
Vote
TerraAlertSkin. previewWindowOpen(Window window)
Vote
TerraPromptSkin. previewWindowOpen(Window window)
Methods in org.apache.pivot.wtk.skin.terra with parameters of type Vote Modifier and Type Method Description void
TerraTreeViewSkin. branchExpandedChangeVetoed(TreeView treeView, Sequence.Tree.Path path, Vote reason)
void
TerraDialogSkin. dialogCloseVetoed(Dialog dialog, Vote reason)
void
TerraExpanderSkin. expandedChangeVetoed(Expander expander, Vote reason)
Called when an expanded change event has been vetoed.void
TerraRollupSkin. expandedChangeVetoed(Rollup rollup, Vote reason)
void
TerraTextInputSkin. insertTextVetoed(TextInput textInput, Vote reason)
void
TerraMenuPopupSkin. menuPopupCloseVetoed(MenuPopup menuPopup, Vote reason)
void
TerraTabPaneSkin. removeTabsVetoed(TabPane tabPane, Vote vote)
void
TerraTextInputSkin. removeTextVetoed(TextInput textInput, Vote reason)
void
TerraAccordionSkin. selectedIndexChangeVetoed(Accordion accordion, Vote reason)
void
TerraTabPaneSkin. selectedIndexChangeVetoed(TabPane tabPane, Vote reason)
void
TerraSheetSkin. sheetCloseVetoed(Sheet sheet, Vote reason)
void
TerraSuggestionPopupSkin. suggestionPopupCloseVetoed(SuggestionPopup suggestionPopup, Vote reason)
void
TerraSuggestionPopupSkin. windowCloseVetoed(Window window, Vote reason)
void
TerraTooltipSkin. windowCloseVetoed(Window window, Vote reason)
-