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 PaperPropertiesPaperProperties. deriveOrientation(boolean orientation)Returns aPaperPropertieswith the same dimensions as this paper but with the requested orientation.static PaperPropertiesPaperSets. 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 PaperPropertiesPaperSets. 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 PaperPropertiesPaperSets. getDefaultPaper(java.util.Set<PaperProperties> candidates)Returns the paper type in the specified set that most closely matches the platform-dependant default paper size.PaperPropertiesDeck. getPaperProperties()Returns the paper format for pages in this deck.PaperPropertiesDeck. getPrinterPaperProperties()Returns the paper properties of the physical paper size for pages in this deck.PaperPropertiesCustomPaperDialog. 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 (ComboBoxModelextendsListModel).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 inJLists 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 intPaperProperties. compareTo(PaperProperties that)The natural ordering of paper properties instances sorts them by their string representation using the interface language's collator.static PaperPropertiesPaperSets. 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 voidPDFPrintSupport. printToPDF(java.lang.String title, PaperProperties paper, java.awt.print.Printable printable, java.io.File pdfFile)Prints the contents of anyPrintableobject to a PDF file.voidPDFPrintSupport.Configuration. setPageDimensions(PaperProperties pp)Sets the width and height of document pages from aPaperPropertiesobject representing the target paper size.voidDeck. setPaperProperties(PaperProperties paper)Sets the paper format for pages in this deck.voidDeckEditor. setPaperProperties(PaperProperties p)voidDeck. 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 PaperPropertiesPaperSets. 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 PaperPropertiesPaperSets. 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 PaperPropertiesPaperSets. 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 (ComboBoxModelextendsListModel).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 inJLists that allows selection from the specified set of paper types.static voidPaperSets. 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 PaperPropertiesDeckPacker. 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 voidDeckPacker. setPaper(PaperProperties paper)Sets the paper format to use for laying out cards.
-