| |
|
| javax.swing.JPanel org.beryl.gui.swing.JConsole
All known Subclasses: org.beryl.gui.swing.JCommandConsole,
JConsole | public class JConsole extends JPanel (Code) | | JConsole - Very simplistic console widget supporting attributes
version: 1.0 author: Wenzel Jakob |
Inner Class :protected class ConsoleMouseListener extends MouseAdapter | |
columnWidth | int columnWidth(Code) | | |
JConsole | public JConsole()(Code) | | Create the console widget
|
doLayout | public void doLayout()(Code) | | Setup the layout
|
getCursorColor | public Color getCursorColor()(Code) | | Return the cursor color
|
getCursorColumn | public int getCursorColumn()(Code) | | Return the cursor column
|
getCursorRow | public int getCursorRow()(Code) | | Return the table row
|
getDrawCursor | public boolean getDrawCursor()(Code) | | Return whether to draw the cursor
|
paintComponent | protected void paintComponent(Graphics g)(Code) | | Transfer the buffer image to the screen
|
refresh | public void refresh()(Code) | | Always call this function after you have changed the console
buffer. This causes a repaint of the modified rows
|
scrollToBottom | public void scrollToBottom()(Code) | | Scroll to the bottom
|
scrollToRow | public void scrollToRow(int row)(Code) | | Scroll to a row
|
setCursorColor | public void setCursorColor(Color color)(Code) | | Set the cursor color
|
setCursorPosition | public void setCursorPosition(int row, int column)(Code) | | Set the cursor position
|
setDrawCursor | public void setDrawCursor(boolean b)(Code) | | Define whether to draw the cursor
|
setFont | public void setFont(Font font)(Code) | | Set the font
|
updateScrollbar | void updateScrollbar()(Code) | | Update the scroll bar values
|
|
|
|