|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.zfqjava.swing.JBandBar
public class JBandBar
JBandBar provides a band bar.
| Nested Class Summary | |
|---|---|
protected class |
JBandBar.AccessibleJBandBar
This class implements accessibility support for the JBandBar class. |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JBandBar()
Constructs a JBandBar. |
|
| Method Summary | |
|---|---|
void |
addBand(Component band)
Adds a band component to this JBandBar. |
void |
addBandAt(Component band,
int row)
Adds a band component to this JBandBar in the
specify row. |
protected void |
addImpl(Component comp,
Object constraints,
int index)
|
AccessibleContext |
getAccessibleContext()
Gets the AccessibleContext associated with this JBandBar. |
int |
getBandCount()
Returns the band count. |
int |
getBandRunCount()
Returns the band run count. |
Component |
getComponentAt(int row)
Returns the component at the specify row. |
Icon |
getLogoIcon()
Returns the logo icon for this bandbar. |
BandBarUI |
getUI()
Returns the look and feel (L&F) object that renders this component. |
String |
getUIClassID()
Returns a string that specifies the name of the L&F class that renders this component. |
int |
indexOfComponent(Component c)
Returns the band row for the specify component. |
protected String |
paramString()
Returns a string representation of this JBandBar. |
void |
removeAllBand()
Removes all band component from this JBandBar. |
void |
removeBand(Component band)
Removes the band component from this JBandBar. |
void |
removeBandAt(int index)
Removes the band component from this JBandBar
at the specified row. |
void |
setLogoIcon(Icon logoIcon)
Sets the logo icon for this bandbar. |
void |
setUI(BandBarUI ui)
Sets the look and feel (L&F) object that renders this component. |
void |
updateUI()
Resets the UI property with a value from the current look and feel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JBandBar()
JBandBar.
| Method Detail |
|---|
public void updateUI()
updateUI in class JComponentJComponent.updateUI()public BandBarUI getUI()
public void setUI(BandBarUI ui)
ui - the BandBarUI L&F objectUIDefaults.getUI(javax.swing.JComponent)public String getUIClassID()
getUIClassID in class JComponentJComponent.getUIClassID(),
UIDefaults.getUI(javax.swing.JComponent)public void setLogoIcon(Icon logoIcon)
logoIcon - the logo icongetLogoIcon()public Icon getLogoIcon()
setLogoIcon(javax.swing.Icon)
protected void addImpl(Component comp,
Object constraints,
int index)
addImpl in class Containerpublic void addBand(Component band)
JBandBar.
band - the band component to addaddBand(java.awt.Component)
public void addBandAt(Component band,
int row)
JBandBar in the
specify row.
band - the band component to addaddBand(java.awt.Component)public void removeBand(Component band)
JBandBar.
band - the band component to removepublic void removeBandAt(int index)
JBandBar
at the specified row.
row - the specified rowpublic void removeAllBand()
JBandBar.
public Component getComponentAt(int row)
row - the specify row
public int indexOfComponent(Component c)
c - the specify component
public int getBandCount()
public int getBandRunCount()
protected String paramString()
null.
paramString in class JComponentpublic AccessibleContext getAccessibleContext()
getAccessibleContext in interface AccessiblegetAccessibleContext in class JComponent
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||