Uses of Class
ca.cgjennings.apps.arkham.deck.PaperProperties
-
Packages that use PaperProperties Package Description ca.cgjennings.apps.arkham.deck ca.cgjennings.apps.arkham.project -
-
Uses of PaperProperties in ca.cgjennings.apps.arkham.deck
Methods in ca.cgjennings.apps.arkham.deck that return PaperProperties Modifier and Type Method Description PaperProperties
PaperProperties. deriveOrientation(boolean orientation)
Returns aPaperProperties
with the same dimensions as this paper but with the requested orientation.static PaperProperties
PaperSets. findBestPaper(double targetWidth, double targetHeight, java.util.Set<PaperProperties> candidates)
Returns the paper in the candidate set that is the closest match for the target size and orientation.static PaperProperties
PaperSets. findBestPaper(PaperProperties target, java.util.Set<PaperProperties> candidates)
Returns the paper type most similar to the specified target of those candidates in the provided set.static PaperProperties
PaperSets. getDefaultPaper(java.util.Set<PaperProperties> candidates)
Returns the paper type in the specified set that most closely matches the platform-dependant default paper size.PaperProperties
Deck. getPaperProperties()
Returns the paper format for pages in this deck.PaperProperties
Deck. getPrinterPaperProperties()
Returns the paper properties of the physical paper size for pages in this deck.PaperProperties
CustomPaperDialog. showDialog()
Methods in ca.cgjennings.apps.arkham.deck that return types with arguments of type PaperProperties Modifier and Type Method Description static javax.swing.ListCellRenderer<PaperProperties>
PaperSets. createListCellRenderer()
A utility method that returns a new list cell renderer suitable for displaying a list of paper types.static java.util.Set<PaperProperties>
PaperSets. getBuiltInPapers()
Returns a set of all built-in papers.static java.util.Set<PaperProperties>
PaperSets. getMatchingPapers(java.util.Map<?,?> criteria)
Returns an ordered set of all of the paper types that match the specified criteria.java.util.Set<PaperProperties>
Deck. getPaperSizes()
Returns a set of paper sizes that are appropriate for this deck at the current time.java.util.Set<PaperProperties>
Deck. getPrinterPaperSizes()
Returns a set of printer paper sizes that are appropriate for this deck at the current time.static java.util.Set<PaperProperties>
PaperSets. getTemporaryPapers()
Returns a set of all currently registered temporary papers.static java.util.Set<PaperProperties>
PaperSets. getUserDefinedPapers()
Returns a set of all user-defined paper types at the time that the method is called.static java.util.Set<PaperProperties>
PaperSets. modelToSet(javax.swing.ListModel<PaperProperties> model)
Creates a set of paper types that match the contents of the specified list or combo box model (ComboBoxModel
extendsListModel
).static javax.swing.DefaultComboBoxModel<PaperProperties>
PaperSets. setToComboBoxModel(java.util.Set<PaperProperties> papers)
Returns a model suitable for use in combo boxes that allows selection from the specified set of paper types.static javax.swing.DefaultListModel<PaperProperties>
PaperSets. setToListModel(java.util.Set<PaperProperties> papers)
Returns a model suitable for use inJList
s that allows selection from the specified set of paper types.Methods in ca.cgjennings.apps.arkham.deck with parameters of type PaperProperties Modifier and Type Method Description int
PaperProperties. compareTo(PaperProperties that)
The natural ordering of paper properties instances sorts them by their string representation using the interface language's collator.static PaperProperties
PaperSets. findBestPaper(PaperProperties target, java.util.Set<PaperProperties> candidates)
Returns the paper type most similar to the specified target of those candidates in the provided set.static void
PDFPrintSupport. printToPDF(java.lang.String title, PaperProperties paper, java.awt.print.Printable printable, java.io.File pdfFile)
Prints the contents of anyPrintable
object to a PDF file.void
PDFPrintSupport.Configuration. setPageDimensions(PaperProperties pp)
Sets the width and height of document pages from aPaperProperties
object representing the target paper size.void
Deck. setPaperProperties(PaperProperties paper)
Sets the paper format for pages in this deck.void
DeckEditor. setPaperProperties(PaperProperties p)
void
Deck. setPrinterPaperProperties(PaperProperties printerPaper)
Sets the printed page format for the deck.Method parameters in ca.cgjennings.apps.arkham.deck with type arguments of type PaperProperties Modifier and Type Method Description static PaperProperties
PaperSets. findBestPaper(double targetWidth, double targetHeight, java.util.Set<PaperProperties> candidates)
Returns the paper in the candidate set that is the closest match for the target size and orientation.static PaperProperties
PaperSets. findBestPaper(PaperProperties target, java.util.Set<PaperProperties> candidates)
Returns the paper type most similar to the specified target of those candidates in the provided set.static PaperProperties
PaperSets. getDefaultPaper(java.util.Set<PaperProperties> candidates)
Returns the paper type in the specified set that most closely matches the platform-dependant default paper size.static java.util.Set<PaperProperties>
PaperSets. modelToSet(javax.swing.ListModel<PaperProperties> model)
Creates a set of paper types that match the contents of the specified list or combo box model (ComboBoxModel
extendsListModel
).static javax.swing.DefaultComboBoxModel<PaperProperties>
PaperSets. setToComboBoxModel(java.util.Set<PaperProperties> papers)
Returns a model suitable for use in combo boxes that allows selection from the specified set of paper types.static javax.swing.DefaultListModel<PaperProperties>
PaperSets. setToListModel(java.util.Set<PaperProperties> papers)
Returns a model suitable for use inJList
s that allows selection from the specified set of paper types.static void
PaperSets. setUserDefinedPapers(java.util.Set<PaperProperties> papers)
Replaces the current set of user-defined paper types with the specified set.Constructors in ca.cgjennings.apps.arkham.deck with parameters of type PaperProperties Constructor Description CustomPaperDialog(java.awt.Component parent, PaperProperties defaultPaper, boolean physicalPapersOnly)
Creates a new custom paper dialog.PaperSplitter(PaperProperties virtualPaper, PaperProperties physicalPaper)
Create a layout for splitting a virtual page over one or more physical ones. -
Uses of PaperProperties in ca.cgjennings.apps.arkham.project
Methods in ca.cgjennings.apps.arkham.project that return PaperProperties Modifier and Type Method Description PaperProperties
DeckPacker. getPaper()
Returns the paper type used to create the layout.Methods in ca.cgjennings.apps.arkham.project with parameters of type PaperProperties Modifier and Type Method Description void
DeckPacker. setPaper(PaperProperties paper)
Sets the paper format to use for laying out cards.
-