public final class BalloonPopupBuilderImpl extends java.lang.Object implements BalloonBuilder
Constructor and Description |
---|
BalloonPopupBuilderImpl(java.util.Map<Disposable,java.util.List<Balloon>> storage,
javax.swing.JComponent content) |
public BalloonPopupBuilderImpl(java.util.Map<Disposable,java.util.List<Balloon>> storage, javax.swing.JComponent content)
public BalloonBuilder setHideOnAction(boolean hideOnAction)
setHideOnAction
in interface BalloonBuilder
public BalloonBuilder setDialogMode(boolean dialogMode)
setDialogMode
in interface BalloonBuilder
public BalloonBuilder setBorderColor(java.awt.Color color)
setBorderColor
in interface BalloonBuilder
public BalloonBuilder setBorderInsets(java.awt.Insets insets)
setBorderInsets
in interface BalloonBuilder
public BalloonBuilder setFillColor(java.awt.Color color)
setFillColor
in interface BalloonBuilder
public BalloonBuilder setHideOnClickOutside(boolean hide)
setHideOnClickOutside
in interface BalloonBuilder
public BalloonBuilder setHideOnKeyOutside(boolean hide)
setHideOnKeyOutside
in interface BalloonBuilder
public BalloonBuilder setShowCallout(boolean show)
setShowCallout
in interface BalloonBuilder
public BalloonBuilder setFadeoutTime(long fadeoutTime)
setFadeoutTime
in interface BalloonBuilder
public BalloonBuilder setBlockClicksThroughBalloon(boolean block)
setBlockClicksThroughBalloon
in interface BalloonBuilder
public BalloonBuilder setRequestFocus(boolean requestFocus)
setRequestFocus
in interface BalloonBuilder
public BalloonBuilder setHideOnCloseClick(boolean hideOnCloseClick)
setHideOnCloseClick
in interface BalloonBuilder
public BalloonBuilder setAnimationCycle(int time)
setAnimationCycle
in interface BalloonBuilder
public BalloonBuilder setHideOnFrameResize(boolean hide)
setHideOnFrameResize
in interface BalloonBuilder
public BalloonBuilder setHideOnLinkClick(boolean hide)
setHideOnLinkClick
in interface BalloonBuilder
public BalloonBuilder setPositionChangeXShift(int positionChangeXShift)
setPositionChangeXShift
in interface BalloonBuilder
public BalloonBuilder setPositionChangeYShift(int positionChangeYShift)
setPositionChangeYShift
in interface BalloonBuilder
public BalloonBuilder setCloseButtonEnabled(boolean enabled)
setCloseButtonEnabled
in interface BalloonBuilder
public BalloonBuilder setClickHandler(java.awt.event.ActionListener listener, boolean closeOnClick)
setClickHandler
in interface BalloonBuilder
public BalloonBuilder setCalloutShift(int length)
setCalloutShift
in interface BalloonBuilder
public BalloonBuilder setTitle(java.lang.String title)
setTitle
in interface BalloonBuilder
public BalloonBuilder setContentInsets(java.awt.Insets insets)
setContentInsets
in interface BalloonBuilder
public BalloonBuilder setShadow(boolean shadow)
setShadow
in interface BalloonBuilder
public BalloonBuilder setSmallVariant(boolean smallVariant)
setSmallVariant
in interface BalloonBuilder
public BalloonBuilder setLayer(Balloon.Layer layer)
setLayer
in interface BalloonBuilder
public BalloonBuilder setDisposable(Disposable anchor)
BalloonBuilder
#hashCode()
and #equals(Object)
.setDisposable
in interface BalloonBuilder
anchor
- target anchor to link topublic BalloonBuilder setPointerSize(java.awt.Dimension size)
setPointerSize
in interface BalloonBuilder
public BalloonBuilder setCornerToPointerDistance(int distance)
setCornerToPointerDistance
in interface BalloonBuilder
public Balloon createBalloon()
createBalloon
in interface BalloonBuilder