Interface SmileUtilities
public interface SmileUtilities
A collection of utility methods primarily for performing common GUI-related tasks.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ImageIconscaleImageIcon(ImageIcon icon, int size) Scales an image icon to desired size.static JFrameShows the data frame in a window.static JFrameShows the figure in a window.static JFrameshow(MultiFigurePane figure) Shows the figure in a window.static JFrameShows the matrix in a window.static JFrameshow(SparseMatrix matrix) Shows the sparse matrix structure in a figure window.
-
Method Details
-
scaleImageIcon
-
show
-
show
Shows the figure in a window.- Parameters:
figure- the figure to display.- Returns:
- a new JFrame that contains the figure.
-
show
-
show
-
show
Shows the sparse matrix structure in a figure window.- Parameters:
matrix- the matrix to display.- Returns:
- a new JFrame that displays the sparse matrix structure.
-