Class ActionCategory
- java.lang.Object
-
- org.jfree.report.modules.gui.swing.preview.ActionCategory
-
- All Implemented Interfaces:
java.lang.Comparable
public class ActionCategory extends java.lang.Object implements java.lang.ComparableCreation-Date: 01.12.2006, 18:49:32- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description ActionCategory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(java.lang.Object o)Compares this object with the specified object for order.booleanequals(java.lang.Object o)java.lang.StringgetDisplayName()Returns the display name for the export action.java.lang.IntegergetMnemonicKey()Returns the mnemonic key code.java.lang.StringgetName()intgetPosition()java.lang.StringgetResourceBase()java.lang.StringgetResourcePrefix()java.lang.StringgetShortDescription()Returns the short description for the export action.inthashCode()voidinitialize(SwingGuiContext context)voidsetName(java.lang.String name)voidsetPosition(int position)voidsetResourceBase(java.lang.String resourceBase)voidsetResourcePrefix(java.lang.String resourcePrefix)java.lang.StringtoString()
-
-
-
Method Detail
-
initialize
public void initialize(SwingGuiContext context)
-
getResourceBase
public java.lang.String getResourceBase()
-
setResourceBase
public void setResourceBase(java.lang.String resourceBase)
-
getResourcePrefix
public java.lang.String getResourcePrefix()
-
setResourcePrefix
public void setResourcePrefix(java.lang.String resourcePrefix)
-
getPosition
public int getPosition()
-
setPosition
public void setPosition(int position)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getDisplayName
public java.lang.String getDisplayName()
Returns the display name for the export action.- Returns:
- The display name.
-
getShortDescription
public java.lang.String getShortDescription()
Returns the short description for the export action.- Returns:
- The short description.
-
getMnemonicKey
public java.lang.Integer getMnemonicKey()
Returns the mnemonic key code.- Returns:
- The code.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(java.lang.Object o)
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.- Specified by:
compareToin interfacejava.lang.Comparable- Parameters:
o- the Object to be compared.- Returns:
- a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
- Throws:
java.lang.ClassCastException- if the specified object's type prevents it from being compared to this Object.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-