|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.option.ArrowCellRenderer
public class ArrowCellRenderer
ListCellRenderer and TableCellRenderer
implementation that renders objects of type Arrow nicely.
| Constructor Summary | |
|---|---|
ArrowCellRenderer()
Creates a new ArrowCellRenderer. |
|
| Method Summary | |
|---|---|
Component |
getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean hasFocus)
Returns a component that has been configured to display the specified value. |
Component |
getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Returns a component that has been configured to display the specified value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrowCellRenderer()
| Method Detail |
|---|
public Component getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean hasFocus)
value is not of type Arrow, the component may
display nothing at all.
getListCellRendererComponent in interface ListCellRendererlist - the JList that is asking the renderer to
drawvalue - the value to be renderedindex - the cells indexisSelected - true if the specified cell was selectedhasFocus - true if the specified cell has the focus
Arrow.
public Component getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
value is not of type Arrow, the component may
display nothing at all.
getTableCellRendererComponent in interface TableCellRenderertable - the JTable that is asking the renderer to
draw; can be nullvalue - the value to be renderedisSelected - true if the specified cell was selectedhasFocus - true if the specified cell has the focusrow - the row index of the cell being drawncolumn - the column index of the cell being drawn
Arrow.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||