/** Setter method for the SwapPanesEnabled property. * @param value New SwapPanesEnabled value. */ public void setSwapPanesEnabled(boolean value) { if (swapPanesEnabled == value) { return; } swapPanesEnabled = value; updatePopupMenu(); }
/** Setter method for the SplitTypeChangeEnabled property. * @param value New SplitTypeChangeEnabled value. */ public void setSplitTypeChangeEnabled(boolean value) { if (splitTypeChangeEnabled == value) { return; } splitTypeChangeEnabled = value; updatePopupMenu(); }
/** Called when the sequnce of mouse events should lead to actual * showing of the popup menu. * Should be redefined to show the menu. * param evt The mouse release event - should be used to obtain the * position of the popup menu */ protected void showPopup(MouseEvent e) { updatePopupMenu(); if (isPopupMenuEnabled()) { popupMenu.show(splitter, e.getX(), e.getY()); } }
/** Setter method for the SplitType property. * @param value New SplitType value. */ public void setSplitType(int value) { if (splitType == value) { return; } int oldSplitType = splitType; splitType = value; if ((oldSplitType != NONE) && (splitType != NONE)) { computeSizesAfterFlip(); } setSplitterCursor(); updateSplitting(); updatePopupMenu(); initAccessible(); }
/** Setter method for the SplitTypeChangeEnabled property. * @param value New SplitTypeChangeEnabled value. */ public void setSplitTypeChangeEnabled(boolean value) { if (splitTypeChangeEnabled == value) return; splitTypeChangeEnabled = value; updatePopupMenu(); }
/** Setter method for the SplitTypeChangeEnabled property. * @param value New SplitTypeChangeEnabled value. */ public void setSplitTypeChangeEnabled(boolean value) { if (splitTypeChangeEnabled == value) return; splitTypeChangeEnabled = value; updatePopupMenu(); }
/** Setter method for the SwapPanesEnabled property. * @param value New SwapPanesEnabled value. */ public void setSwapPanesEnabled(boolean value) { if (swapPanesEnabled == value) return; swapPanesEnabled = value; updatePopupMenu(); }
/** Setter method for the SwapPanesEnabled property. * @param value New SwapPanesEnabled value. */ public void setSwapPanesEnabled(boolean value) { if (swapPanesEnabled == value) return; swapPanesEnabled = value; updatePopupMenu(); }
/** Called when the sequnce of mouse events should lead to actual * showing of the popup menu. * Should be redefined to show the menu. * param evt The mouse release event - should be used to obtain the * position of the popup menu */ protected void showPopup(MouseEvent e) { updatePopupMenu(); if (isPopupMenuEnabled ()) popupMenu.show(splitter, e.getX(), e.getY()); }
/** Called when the sequnce of mouse events should lead to actual * showing of the popup menu. * Should be redefined to show the menu. * param evt The mouse release event - should be used to obtain the * position of the popup menu */ protected void showPopup(MouseEvent e) { updatePopupMenu(); if (isPopupMenuEnabled ()) popupMenu.show(splitter, e.getX(), e.getY()); }
/** Setter method for the SplitType property. * @param value New SplitType value. */ public void setSplitType(int value) { if (splitType == value) return; int oldSplitType = splitType; splitType = value; if ((oldSplitType != NONE) && (splitType != NONE)) computeSizesAfterFlip(); setSplitterCursor(); updateSplitting(); updatePopupMenu(); initAccessible(); }
/** Setter method for the SplitType property. * @param value New SplitType value. */ public void setSplitType(int value) { if (splitType == value) return; int oldSplitType = splitType; splitType = value; if ((oldSplitType != NONE) && (splitType != NONE)) computeSizesAfterFlip(); setSplitterCursor(); updateSplitting(); updatePopupMenu(); initAccessible(); }