|
GUI Commands 2.0 has arrived!
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pietschy.command.RenderContext
public class RenderContext
The RenderContext constains the information about buttons and menus that are created by the library. This includes the command that created the button and the face that was used. If the button or menu was created in the context of a group, then the group is also specified.
| Method Summary | |
|---|---|
static RenderContext |
get(javax.swing.JComponent component)
Gets the rendering context for the specified component, or null if it doesn't have one. |
Command |
getCommand()
|
Face |
getFace()
|
java.lang.String |
getFaceName()
|
CommandGroup |
getGroup()
|
boolean |
isFirstMemeber()
|
boolean |
isLastMember()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RenderContext get(javax.swing.JComponent component)
component - the component with the renderering context.
public Command getCommand()
public java.lang.String getFaceName()
public Face getFace()
public CommandGroup getGroup()
public boolean isFirstMemeber()
public boolean isLastMember()
|
GUI Commands 2.0 has arrived!
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||