|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.content.TableViewHeaderData
public class TableViewHeaderData
Default table header data implementation.
Constructor Summary | |
---|---|
TableViewHeaderData()
|
|
TableViewHeaderData(Image icon)
|
|
TableViewHeaderData(Image icon,
String text)
|
|
TableViewHeaderData(String text)
|
Method Summary | |
---|---|
Image |
getIcon()
|
String |
getText()
|
void |
setIcon(Image icon)
|
void |
setIcon(String iconName)
Sets the header data's icon by resource name. |
void |
setIcon(URL iconURL)
Sets the header data's icon by URL. |
void |
setText(String text)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableViewHeaderData()
public TableViewHeaderData(Image icon)
public TableViewHeaderData(String text)
public TableViewHeaderData(Image icon, String text)
Method Detail |
---|
public Image getIcon()
public void setIcon(Image icon)
public void setIcon(URL iconURL)
Note: Using this signature will cause an entry to be added in the application context's resource cache if one does not already exist.
iconURL
- The location of the icon to set.public void setIcon(String iconName)
Note: Using this signature will cause an entry to be added in the application context's resource cache if one does not already exist.
iconName
- The resource name of the icon to set.public String getText()
public void setText(String text)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |