public class BalloonLayoutImpl extends java.lang.Object implements BalloonLayout
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Balloon> |
myBalloons |
protected javax.swing.JLayeredPane |
myLayeredPane |
Constructor and Description |
---|
BalloonLayoutImpl(javax.swing.JRootPane parent,
java.awt.Insets insets) |
Modifier and Type | Method and Description |
---|---|
void |
add(Balloon balloon) |
void |
add(Balloon balloon,
java.lang.Object layoutData) |
void |
addListener(java.lang.Runnable listener) |
void |
closeAll() |
void |
closeFirst() |
void |
dispose() |
int |
getBalloonCount() |
java.awt.Component |
getTopBalloonComponent() |
boolean |
isEmpty() |
BalloonLayoutData.MergeInfo |
preMerge(Notification notification) |
void |
queueRelayout() |
void |
remove(Notification notification) |
void |
removeListener(java.lang.Runnable listener) |
protected javax.swing.JLayeredPane myLayeredPane
protected final java.util.List<Balloon> myBalloons
public BalloonLayoutImpl(javax.swing.JRootPane parent, java.awt.Insets insets)
public void dispose()
public void addListener(java.lang.Runnable listener)
public void removeListener(java.lang.Runnable listener)
public java.awt.Component getTopBalloonComponent()
public void add(Balloon balloon)
add
in interface BalloonLayout
public void add(Balloon balloon, java.lang.Object layoutData)
add
in interface BalloonLayout
public BalloonLayoutData.MergeInfo preMerge(Notification notification)
public void remove(Notification notification)
public void closeAll()
public void closeFirst()
public int getBalloonCount()
public boolean isEmpty()
public void queueRelayout()